From a975873f7ae38988d4cc2f20dc10e12ec08f3bbd Mon Sep 17 00:00:00 2001 From: Christian Kaiser Date: Tue, 24 Sep 2024 01:06:09 -0300 Subject: [PATCH] Fix Sentry wrapper compilation --- src/app/sentry_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/sentry_wrapper.cpp b/src/app/sentry_wrapper.cpp index 30e7838d9..3545f362a 100644 --- a/src/app/sentry_wrapper.cpp +++ b/src/app/sentry_wrapper.cpp @@ -109,7 +109,7 @@ bool Sentry::areThereCrashesToReport() // At least one .dmp file in the completed/ directory means that // there was at least one crash in the past (this is for macOS). - if (!base::join_path(m_dbdir, "completed"), base::ItemType::Files, "*.dmp").empty()) + if (!base::list_files(base::join_path(m_dbdir, "completed"), base::ItemType::Files, "*.dmp").empty()) return true; // In case that "last_crash" doesn't exist we can check for some