Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1202

DeprecationWarning: Unhandled promise rejections are deprecated.

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: MongoDB 3.2
    • Environment:
      Node v8.6.0

      Using mongodb@2.2.31

      Seems the code base needs to be updated to handle promise rejections:

      Error: res.status is not a function
      (node:7546) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

            Assignee:
            Unassigned Unassigned
            Reporter:
            dman777 Darin Hensley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: