summaryrefslogtreecommitdiff
path: root/src/Main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.cc')
-rw-r--r--src/Main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Main.cc b/src/Main.cc
index cd74b60..e712a95 100644
--- a/src/Main.cc
+++ b/src/Main.cc
@@ -125,6 +125,11 @@ int main(int argc, char ** argv) {
exit(-1);
}
+ catch (...) {
+ cerr << "Unknow exception.\n" << endl;
+ exit(-1);
+ }
+
delete in;
exit(0);
}