From e184404ff879bfa9ec39b8f95920f2e1e8d8ce34 Mon Sep 17 00:00:00 2001 From: Andrey Lebedev Date: Wed, 23 Jul 2025 10:43:07 +0300 Subject: [PATCH] warning if open directory does not exist --- src/util/platform.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/platform.cpp b/src/util/platform.cpp index 1b50dfc8..3b2fdce2 100644 --- a/src/util/platform.cpp +++ b/src/util/platform.cpp @@ -96,6 +96,7 @@ int platform::get_process_id() { void platform::open_folder(const std::filesystem::path& folder) { if (!std::filesystem::is_directory(folder)) { + logger.warning() << folder << " is not a directory or does not exist"; return; } #ifdef __APPLE__