From c99827e854d8d8ef93aa02811dceb23f549541f1 Mon Sep 17 00:00:00 2001 From: Albert S Date: Fri, 22 Apr 2022 09:07:10 +0200 Subject: [PATCH] shared: FileScanWorker: Catch correct exception type --- shared/filescanworker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/filescanworker.cpp b/shared/filescanworker.cpp index 2a23bde..47059ef 100644 --- a/shared/filescanworker.cpp +++ b/shared/filescanworker.cpp @@ -20,7 +20,7 @@ void FileScanWorker::run() { sfr = saver.addFile(path); } - catch(std::runtime_error &e) + catch(std::exception &e) { Logger::error() << e.what(); sfr = PROCESSFAIL; // well...