Skip to content
Snippets Groups Projects
Commit 50196127 authored by David Fairbrother's avatar David Fairbrother
Browse files

Re #22714 Catch exception by ref

parent f0f84936
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,7 @@ bool ProjectRecovery::openInEditor(const Poco::Path &inputFolder) {
void ProjectRecovery::projectSavingThreadWrapper() {
try {
projectSavingThread();
} catch (Mantid::API::Algorithm::CancelException) {
} catch (Mantid::API::Algorithm::CancelException &) {
return;
} catch (std::exception const &e) {
std::string preamble("Project recovery has stopped. Please report"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment