ErrorHandling macros log wrong source position

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: install
    • None
    • b12
    • windows
    • Not verified

        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

              Assignee:
              Alex Menkov
              Reporter:
              Alex Menkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: