Skip to content

Commit

Permalink
Prevent crashes when a single malformed path is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Nov 19, 2024
1 parent 05281ac commit f1741e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Src/MainFrm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
Expand Down

0 comments on commit f1741e3

Please sign in to comment.