Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: a promise was rejected with a non-error: [object Object] #77

Closed
foxhound87 opened this issue Apr 30, 2016 · 0 comments
Closed

Comments

@foxhound87
Copy link

Using FeathersJS only in the production environment after a successful login I get Warning: a promise was rejected with a non-error: [object Object].

I'm using bluebird, if I remove bluebird the failure is silent, I don't get errors or warnings, and it stops the execution of the current action. I don't know if it can be related to feathers or socket.io or component-emitter.

If you need to see my setup the app is: https://github.com/foxhound87/rfx-stack

Warning: a promise was rejected with a non-error: [object Object]
    at Socket.on (http://localhost:3000/build/bundle.js:49005:9)
    at Socket.Emitter.emit (http://localhost:3000/build/bundle.js:49073:21)
    at Socket.onevent (http://localhost:3000/build/bundle.js:48787:11)
    at Socket.onpacket (http://localhost:3000/build/bundle.js:48745:13)
    at Manager.<anonymous> (http://localhost:3000/build/bundle.js:37783:16)
    at Manager.Emitter.emit (http://localhost:3000/build/bundle.js:49073:21)
    at Manager.ondecoded (http://localhost:3000/build/bundle.js:48264:9)
    at Decoder.<anonymous> (http://localhost:3000/build/bundle.js:37783:16)
    at Decoder.Emitter.emit (http://localhost:3000/build/bundle.js:29390:21)
    at Decoder.add (http://localhost:3000/build/bundle.js:37350:13)
    at Manager.ondata (http://localhost:3000/build/bundle.js:48254:17)
    at Socket.<anonymous> (http://localhost:3000/build/bundle.js:37783:16)
From previous event:
    at authenticateSocket (http://localhost:3000/build/bundle.js:116466:11)
    at http://localhost:3000/build/bundle.js:116351:49
From previous event:
    at http://localhost:3000/build/bundle.js:116342:44
From previous event:
    at Object.app.authenticate (http://localhost:3000/build/bundle.js:116331:26)
    at AuthStore.login (http://localhost:3000/build/bundle.js:51286:31)
    at helper (http://localhost:3000/build/bundle.js:143958:62)
    at helper (http://localhost:3000/build/bundle.js:143975:13)
    at helper (http://localhost:3000/build/bundle.js:143975:13)
    at access (http://localhost:3000/build/bundle.js:143941:11)
    at dispatch (http://localhost:3000/build/bundle.js:29245:40)
    at handleOnSubmitFormLogin (http://localhost:3000/build/bundle.js:49642:29)
    at Object.invokeGuardedCallback (http://localhost:3000/build/bundle.js:35690:13)
    at executeDispatch (http://localhost:3000/build/bundle.js:31089:22)
    at Object.executeDispatchesInOrder (http://localhost:3000/build/bundle.js:31112:6)
    at executeDispatchesAndRelease (http://localhost:3000/build/bundle.js:28554:23)
    at executeDispatchesAndReleaseTopLevel (http://localhost:3000/build/bundle.js:28565:11)
    at Array.forEach (native)
    at forEachAccumulated (http://localhost:3000/build/bundle.js:47496:10)
    at Object.EventPluginHub.processEventQueue (http://localhost:3000/build/bundle.js:28727:8)
    at runEventQueueInBatch (http://localhost:3000/build/bundle.js:140232:19)
    at Object.ReactEventEmitterMixin.handleTopLevel [as _handleTopLevel] (http://localhost:3000/build/bundle.js:140243:6)
    at handleTopLevelImpl (http://localhost:3000/build/bundle.js:140325:25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant