diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7211694..07ac831 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,6 +83,8 @@ int main() { } catch (const std::exception &exc) { printf("EXCEPTION: %s\n", exc.what()); + } catch (const char *err) { + printf("UNHANDLED EXCEPTION: %s\n", err); } catch (...) { printf("UNHANDLED EXCEPTION\n"); } |
