Skip to content

Unhandled rejection Error: Callback was already called. #20

@fsteccanella

Description

@fsteccanella

Hi thanks for your mixin!
i'm receiving this exception:

Unhandled rejection Error: Callback was already called.
    at <path>/node_modules/async/dist/async.js:903:32
    at <path>/node_modules/async/dist/async.js:3858:13
    at interceptInvocationErrors (<path>/node_modules/strong-remoting/lib/remote-objects.js:713:22)
    at <path>/node_modules/strong-remoting/node_modules/loopback-phase/node_modules/async/lib/async.js:154:25
    at <path>/node_modules/strong-remoting/node_modules/loopback-phase/node_modules/async/lib/async.js:154:25
    at <path>/node_modules/strong-remoting/node_modules/loopback-phase/node_modules/async/lib/async.js:154:25
    at <path>/node_modules/strong-remoting/lib/remote-objects.js:679:7
    at <path>/node_modules/strong-remoting/lib/http-context.js:305:7
    at <path>/node_modules/strong-remoting/lib/shared-method.js:277:11
    at tryCatcher (<path>/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (<path>/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (<path>/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._fulfillPromises (<path>/node_modules/bluebird/js/release/promise.js:668:14)
    at Promise._settlePromises (<path>/node_modules/bluebird/js/release/promise.js:694:18)
    at Async._drainQueue (<path>/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (<path>/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (<path>/node_modules/bluebird/js/release/async.js:17:14)

I have solved commenting this line

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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