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 merge requests found
...@@ -335,7 +335,7 @@ bool ProjectRecovery::openInEditor(const Poco::Path &inputFolder) { ...@@ -335,7 +335,7 @@ bool ProjectRecovery::openInEditor(const Poco::Path &inputFolder) {
void ProjectRecovery::projectSavingThreadWrapper() { void ProjectRecovery::projectSavingThreadWrapper() {
try { try {
projectSavingThread(); projectSavingThread();
} catch (Mantid::API::Algorithm::CancelException) { } catch (Mantid::API::Algorithm::CancelException &) {
return; return;
} catch (std::exception const &e) { } catch (std::exception const &e) {
std::string preamble("Project recovery has stopped. Please report" 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