From f1741e31d5761563ed39b0ba760e5eff49f87a1d Mon Sep 17 00:00:00 2001 From: sdottaka Date: Tue, 19 Nov 2024 21:53:39 +0900 Subject: [PATCH] Prevent crashes when a single malformed path is specified --- Src/MainFrm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Src/MainFrm.cpp b/Src/MainFrm.cpp index 7c49e3ec931..656aa52d5cb 100644 --- a/Src/MainFrm.cpp +++ b/Src/MainFrm.cpp @@ -3044,9 +3044,8 @@ bool CMainFrame::DoSelfCompare(UINT nID, const String& file, const String strDes { TFile(file).copyTo(copiedFile); } - catch (Poco::FileException& e) + catch (Poco::Exception& e) { - LogErrorStringUTF8(e.displayText()); } }