summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch2/Client.cpp')
-rw-r--r--cpp/src/IcePatch2/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/Client.cpp b/cpp/src/IcePatch2/Client.cpp
index 4f5f7503e08..cf4392736eb 100644
--- a/cpp/src/IcePatch2/Client.cpp
+++ b/cpp/src/IcePatch2/Client.cpp
@@ -333,9 +333,9 @@ Client::run(int argc, char* argv[])
patcher->finish();
}
}
- catch(const string& ex)
+ catch(const exception& ex)
{
- consoleErr << argv[0] << ": " << ex << endl;
+ consoleErr << argv[0] << ": " << ex.what() << endl;
return EXIT_FAILURE;
}