Convert unhandled rejections into uncaught errors to surface them in testing

XMLWordPrintableJSON

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.15.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

      Use Case

      Our unhandled rejections are swallowed currently
      Add a listener to turn them into uncaught errors.

      User Experience

      • There are some unhandled rejections with promises created internally in the driver

      Dependencies

      • None

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Add listener to convert errors
      • Correct unhandled rejections in the driver
      • Correct unhandled rejections in test code

      Testing Requirements

      • All tests pass

      Documentation Requirements

      • None

      Follow Up Requirements

      • None

              Assignee:
              Neal Beeken
              Reporter:
              Neal Beeken
              Bailey Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: