diff --git a/test/nm_frame.cpp b/test/nm_frame.cpp index 2f02f4d..bdeaf4b 100644 --- a/test/nm_frame.cpp +++ b/test/nm_frame.cpp @@ -28,6 +28,7 @@ public: } }; int main() + try { try { Sample s; @@ -39,4 +40,7 @@ int main() } ErrorSample es; es.gen(); +} catch (std::exception& e) { + printf("err %s\n", e.what()); + return 1; }