Exception in callback is catched by async driver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.2
    • Component/s: Async, Error Handling
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Errors inside the SingleResultCallback are catched by the mongoDB async driver. For example, if your throwable parameter is null and you access it, you won't get an exception because the driver is catching the null pointer exception. For debugging this is not ideal. The Exception should be delegated to the developers scope.

              Assignee:
              Unassigned
              Reporter:
              Ben [X]
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: