Skip to content
Snippets Groups Projects
Commit 2d67dae0 authored by Steven Murray's avatar Steven Murray
Browse files

Fixed 'catching polymorphic type class cta::exception::Exception by value' error in AcsMountCmd.cpp

parent 6cb67a0d
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ int cta::mediachanger::acs::AcsMountCmd::exceptionThrowingMain(const int argc,
char *const *const argv) {
try {
m_cmdLine = AcsMountCmdLine(argc, argv);
} catch(cta::exception::Exception ex) {
} catch(cta::exception::Exception &ex) {
m_err << ex.getMessage().str() << std::endl;
m_err << std::endl;
m_err << m_cmdLine.getUsage() << std::endl;
......
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