cnnlabs / cnn-hapi

CNN Hapi
10 stars 4 forks source link

Uncaught error: reply.send is not a function #18

Closed adslaton closed 8 years ago

adslaton commented 8 years ago

Need to properly handle:

2016-03-30T02:01:16.228373608Z Debug: internal, implementation, error 
2016-03-30T02:01:16.228419088Z     TypeError: Uncaught error: reply.send is not a function
2016-03-30T02:01:16.228435477Z     at module.exports (/cnn-login-app/node_modules/cnn-hapi/lib/hapi/robots.js:14:11)
2016-03-30T02:01:16.228449635Z     at Object.exports.execute.internals.prerequisites.internals.handler.callback [as handler] (/cnn-login-app/node_modules/hapi/lib/handler.js:96:36)
2016-03-30T02:01:16.228468093Z     at /cnn-login-app/node_modules/hapi/lib/handler.js:30:23
2016-03-30T02:01:16.228482159Z     at internals.Protect.run.finish [as run] (/cnn-login-app/node_modules/hapi/lib/protect.js:64:5)
2016-03-30T02:01:16.228494519Z     at exports.execute.finalize (/cnn-login-app/node_modules/hapi/lib/handler.js:24:22)
2016-03-30T02:01:16.228506581Z     at each (/cnn-login-app/node_modules/hapi/lib/request.js:383:16)
2016-03-30T02:01:16.228519914Z     at iterate (/cnn-login-app/node_modules/hapi/node_modules/items/lib/index.js:36:13)
2016-03-30T02:01:16.228533340Z     at done (/cnn-login-app/node_modules/hapi/node_modules/items/lib/index.js:28:25)
2016-03-30T02:01:16.228548423Z     at internals.Auth.test.internals.Auth._authenticate (/cnn-login-app/node_modules/hapi/lib/auth.js:210:16)
2016-03-30T02:01:16.228561743Z     at internals.Auth.test.internals.Auth.authenticate (/cnn-login-app/node_modules/hapi/lib/auth.js:202:17)