• Type: Sub-task
    • Resolution: Fixed
    • Priority: Unknown
    • 6.4.0
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • 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

              Assignee:
              Aditi Khare (Inactive)
              Reporter:
              Andy Mina
              Neal Beeken
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: