summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DabMux.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 0b3f2e8..30f38d7 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -2014,15 +2014,15 @@ int main(int argc, char *argv[])
}
}
- catch (MuxInitException& except) {
+ catch (const MuxInitException& except) {
etiLog.level(error) << "Caught multiplex initialisation error: " <<
except.what();
}
- catch (std::invalid_argument& except) {
- etiLog.level(error) << "Caught invalid argument : %s", except.what();
+ catch (const std::invalid_argument& except) {
+ etiLog.level(error) << "Caught invalid argument : " << except.what();
}
- catch (std::runtime_error& except) {
- etiLog.level(error) << "Caught runtime error : %s", except.what();
+ catch (const std::runtime_error& except) {
+ etiLog.level(error) << "Caught runtime error : " << except.what();
}
etiLog.log(debug, "exiting...\n");