diff options
-rw-r--r-- | infrastructure/buildenv-testmain-template.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp index b646a27b..b6a37b46 100644 --- a/infrastructure/buildenv-testmain-template.cpp +++ b/infrastructure/buildenv-testmain-template.cpp @@ -369,6 +369,12 @@ int main(int argc, char * const * argv) return returncode; } + catch(BoxException &e) + { + printf("FAILED: Exception caught: %s: %s\n", e.what(), + e.GetMessage().c_str()); + return 1; + } catch(std::exception &e) { printf("FAILED: Exception caught: %s\n", e.what()); |