-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Description
Add error handling to runtime events, to ensure the logger never crashes the user's application.
Acceptance Criteria
- add try/catch block around write function
- add try/catch block around EJSON stringify + default message when failureĀ
- support
- ensure all variables that the logger tries to access are defined properties
- stricter typing for LoggableEvents
- stricter typing within DefaultLogTransform (right now we only check typing through logObject.name property
- Unit testing for all cases listed here