Skip to content

Instantly share code, notes, and snippets.

@pencilcheck
Created December 6, 2015 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pencilcheck/0cc6dd427ec6ca9f2887 to your computer and use it in GitHub Desktop.
Save pencilcheck/0cc6dd427ec6ca9f2887 to your computer and use it in GitHub Desktop.
backend_1 | Unhandled rejection TypeError: Cannot read property 'toLowerCase' of undefined
backend_1 | at lookup (/src/controllers/events.js:28:22)
backend_1 | at findSkills (/src/controllers/events.js:36:7)
backend_1 | at async.parallel.count (/src/controllers/events.js:663:13)
backend_1 | at /install/node_modules/async/lib/async.js:713:13
backend_1 | at async.forEachOf.async.eachOf (/install/node_modules/async/lib/async.js:233:13)
backend_1 | at _parallel (/install/node_modules/async/lib/async.js:712:9)
backend_1 | at Object.async.parallel (/install/node_modules/async/lib/async.js:726:9)
backend_1 | at eventMatch (/src/controllers/events.js:611:9)
backend_1 | at /src/controllers/events.js:789:7
backend_1 | at /install/node_modules/async/lib/async.js:356:13
backend_1 | at async.forEachOf.async.eachOf (/install/node_modules/async/lib/async.js:233:13)
backend_1 | at _asyncMap (/install/node_modules/async/lib/async.js:355:9)
backend_1 | at Object.map (/install/node_modules/async/lib/async.js:337:20)
backend_1 | at /src/controllers/events.js:788:11
backend_1 | at /install/node_modules/async/lib/async.js:721:13
backend_1 | at /install/node_modules/async/lib/async.js:52:16
backend_1 | at done (/install/node_modules/async/lib/async.js:246:17)
backend_1 | at /install/node_modules/async/lib/async.js:44:16
backend_1 | at /install/node_modules/async/lib/async.js:718:17
backend_1 | at /install/node_modules/async/lib/async.js:167:37
backend_1 | at /src/controllers/events.js:779:11
backend_1 | at tryCatcher (/install/node_modules/bluebird/js/release/util.js:11:23)
backend_1 | at Promise._settlePromiseFromHandler (/install/node_modules/bluebird/js/release/promise.js:489:31)
backend_1 | at Promise._settlePromise (/install/node_modules/bluebird/js/release/promise.js:546:18)
backend_1 | at Promise._settlePromise0 (/install/node_modules/bluebird/js/release/promise.js:591:10)
backend_1 | at Promise._settlePromises (/install/node_modules/bluebird/js/release/promise.js:670:18)
backend_1 | at Async._drainQueue (/install/node_modules/bluebird/js/release/async.js:129:16)
backend_1 | at Async._drainQueues (/install/node_modules/bluebird/js/release/async.js:139:10)
backend_1 | at Immediate.Async.drainQueues [as _onImmediate] (/install/node_modules/bluebird/js/release/async.js:16:14)
backend_1 | at processImmediate [as _immediateCallback] (timers.js:367:17)
backend_1 |
backend_1 | Unhandled rejection Error
backend_1 | at MongooseError.ValidationError (/install/node_modules/mongoose/lib/error/validation.js:22:16)
backend_1 | at model.Document.invalidate (/install/node_modules/mongoose/lib/document.js:1256:32)
backend_1 | at model.Document.set (/install/node_modules/mongoose/lib/document.js:621:10)
backend_1 | at model.Document.set (/install/node_modules/mongoose/lib/document.js:502:18)
backend_1 | at model.Document (/install/node_modules/mongoose/lib/document.js:62:10)
backend_1 | at model.Model (/install/node_modules/mongoose/lib/model.js:43:12)
backend_1 | at new model (/install/node_modules/mongoose/lib/model.js:2808:11)
backend_1 | at /install/node_modules/mongoose/lib/model.js:1622:10
backend_1 | at /install/node_modules/mongoose/node_modules/async/lib/async.js:570:21
backend_1 | at /install/node_modules/mongoose/node_modules/async/lib/async.js:249:17
backend_1 | at /install/node_modules/mongoose/node_modules/async/lib/async.js:125:13
backend_1 | at Array.forEach (native)
backend_1 | at _each (/install/node_modules/mongoose/node_modules/async/lib/async.js:46:24)
backend_1 | at async.each (/install/node_modules/mongoose/node_modules/async/lib/async.js:124:9)
backend_1 | at _asyncMap (/install/node_modules/mongoose/node_modules/async/lib/async.js:248:13)
backend_1 | at Object.map (/install/node_modules/mongoose/node_modules/async/lib/async.js:219:23)
backend_1 | at _parallel (/install/node_modules/mongoose/node_modules/async/lib/async.js:568:20)
backend_1 | at Object.async.parallel (/install/node_modules/mongoose/node_modules/async/lib/async.js:598:9)
backend_1 | at /install/node_modules/mongoose/lib/model.js:1630:11
backend_1 | at Promise._execute (/install/node_modules/bluebird/js/release/debuggability.js:159:9)
backend_1 | at Promise._resolveFromExecutor (/install/node_modules/bluebird/js/release/promise.js:460:18)
backend_1 | at new Promise (/install/node_modules/bluebird/js/release/promise.js:76:14)
backend_1 | at Function.create (/install/node_modules/mongoose/lib/model.js:1610:17)
backend_1 | at /install/node_modules/mongoose-find-one-or-create/index.js:17:22
backend_1 | at /install/node_modules/mongoose/node_modules/kareem/index.js:160:11
backend_1 | at Query._findOne (/install/node_modules/mongoose/lib/query.js:1140:12)
backend_1 | at /install/node_modules/mongoose/node_modules/kareem/index.js:156:8
backend_1 | at /install/node_modules/mongoose/node_modules/kareem/index.js:18:7
b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment