Project

General

Profile

Actions

Task #3152

closed

In callbacks, catch and log any exception in case the app doesn't

Added by Anonymous over 8 years ago. Updated about 8 years ago.

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.

Actions #1

Updated by Anonymous about 8 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 #2

Updated by Anonymous about 8 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF