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

DeprecationWarning: Unhandled promise rejections are deprecated.

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: