summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tools/appman/appman.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/appman/appman.cpp b/src/tools/appman/appman.cpp
index 83554ebe..b640cd41 100644
--- a/src/tools/appman/appman.cpp
+++ b/src/tools/appman/appman.cpp
@@ -52,6 +52,7 @@
# include "sudo.h"
#endif
#include "startuptimer.h"
+#include "exception.h"
#if defined(AM_TESTRUNNER)
# include "testrunner.h"
@@ -118,8 +119,8 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
#else
return MainBase::exec();
#endif
- } catch (const std::exception &e) {
- qCCritical(LogSystem) << "ERROR:" << e.what();
+ } catch (const Exception &e) {
+ qCCritical(LogSystem) << "ERROR:" << e.errorString();
return 2;
}
}