[Feedhenry-raincatcher] Promise exception in fh-wfm-user server module

David Martin davmarti at redhat.com
Wed Mar 22 12:58:09 UTC 2017


Hey all,

I haven't looked into the cause of this yet, but I'm wondering if anyone
else has seen this exception?
I'm seeing it locally with the raincatcher-demo-auth app from
https://github.com/feedhenry-raincatcher/raincatcher-demo-auth on master.


    Warning: a promise was created in a handler at
home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/lib/router/mbaas.js:33:9
but was not returned from it, see http://goo.gl/rRqMUw
        at new Promise
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/bluebird/js/release/promise.js:77:14)
        at MongoStore.collectionReady
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/node_modules/connect-mongo/src/index.js:165:27)
        at MongoStore.set
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/node_modules/connect-mongo/src/index.js:247:25)
        at Session.save
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/node_modules/express-session/session/session.js:72:25)
        at Session.save
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/node_modules/express-session/index.js:381:15)
        at ServerResponse.end
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/node_modules/express-session/index.js:330:21)
        at ServerResponse.send
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/response.js:205:10)
        at ServerResponse.json
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/response.js:250:15)
        at
/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/lib/router/mbaas.js:39:27
        at session
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/node_modules/express-session/index.js:454:7)
        at
/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/lib/router/mbaas.js:33:9
        at processImmediate [as _immediateCallback] (timers.js:383:17)
    From previous event:
        at
/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/fh-wfm-user/lib/router/mbaas.js:25:8
        at Layer.handle [as handle_request]
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/layer.js:95:5)
        at next
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/route.js:131:13)
        at Route.dispatch
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/route.js:112:3)
        at Layer.handle [as handle_request]
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/layer.js:95:5)
        at
/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:277:22
        at Function.process_params
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:330:12)
        at next
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:271:10)
        at Function.handle
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:176:3)
        at router
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:46:12)
        at Layer.handle [as handle_request]
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/layer.js:95:5)
        at trim_prefix
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:312:13)
        at
/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:280:7
        at Function.process_params
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:330:12)
        at next
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/express/lib/router/index.js:271:10)
        at
/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/body-parser/lib/read.js:129:5
        at invokeCallback
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/body-parser/node_modules/raw-body/index.js:262:16)
        at done
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/body-parser/node_modules/raw-body/index.js:251:7)
        at IncomingMessage.onEnd
(/home/dmartin/fh-templates/raincatcher-demo-auth/node_modules/body-parser/node_modules/raw-body/index.js:307:7)


-- 
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (feedhenry, mobile-internal)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/feedhenry-raincatcher/attachments/20170322/94d1adb8/attachment.htm>


More information about the Feedhenry-raincatcher mailing list