ErrorHandling macros (JDS_REPORT_ERROR, JDS_REPORT_UNKNOWN_ERROR used by JDS_CATCH_*) logs incorrect source for the log record. This makes hard to understand code position where the exception was caught: [2014/04/01 17:29:08.176, common_test.exe (PID: 8724, TID: 7444), ErrorHandling.cpp:27 (reportUnknownError)] ERROR: Unknown exception caught [2014/04/01 17:29:08.176, common_test.exe (PID: 8724, TID: 1644), ErrorHandling.cpp:21 (reportError)] ERROR: Exception with message 'bad allocation' caught
|