Actions
Task #3152
closedIn callbacks, catch and log any exception in case the app doesn't
Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
09/01/2015
Due date:
% Done:
0%
Estimated time:
Description
In callbacks like OnData, we need to document that the application should use a try/catch block to handle exceptions (most likely thrown by the application code). But the library should also use a try/catch block when calling the callback and log any exception.
Updated by Anonymous almost 9 years ago
- Status changed from New to Feedback
Changes are merged to the master branch of all libraries to catch and log any exceptions from callbacks. Note that C++ exceptions don't hold the stack trace from inside the callback, so we just log the line at which the library called the callback.
Actions