Skip to content
This repository was archived by the owner on Dec 17, 2019. It is now read-only.
This repository was archived by the owner on Dec 17, 2019. It is now read-only.

Bluebird throws rouge promise warning #267

@ryanwarsaw

Description

@ryanwarsaw

I was digging through the publish.webmaker.org code to see if I could identify what might be causing some of the downtime issues we've been having today, and I saw this:

6:58 PM
(node:75811) Warning: a promise was created in a handler at domain.js:293:12 but was not returned from it, see http://goo.gl/rRqMUw
    at Function.Promise.cast (/Users/ryanwarsaw/Development/Mozilla/publish.webmaker.org/node_modules/bluebird/js/release/promise.js:196:13)
    at FilesController.update (/Users/ryanwarsaw/Development/Mozilla/publish.webmaker.org/api/classes/base_controller.js:144:28)

Originally Bluebird didn't give me the file that was the origin of the error, so I had to append some verbose code to the Bluebird dependency in order to identify that last line. This might just be a harmless issue, I didn't have enough time to look into it to figure that out.

cc: @gideonthomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions