Skip to content

Instantly share code, notes, and snippets.

@cbrammer
Created November 18, 2012 19:18
Show Gist options
  • Save cbrammer/4106980 to your computer and use it in GitHub Desktop.
Save cbrammer/4106980 to your computer and use it in GitHub Desktop.
workout manager crash on API
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: error: ReferenceError: app is not defined pid=10191, env=development, app=api
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: ReferenceError: app is not defined
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at /opt/node/app/node_modules/workout-manager/controllers/api.js:121:7
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at handleError (/opt/node/app/node_modules/mongoose/node_modules/hooks/hooks.js:92:18)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at module.exports.hook.proto.(anonymous function)._next (/opt/node/app/node_modules/mongoose/node_modules/hooks/hooks.js:34:22)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at fnWrapper (/opt/node/app/node_modules/mongoose/node_modules/hooks/hooks.js:159:8)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at complete (/opt/node/app/node_modules/mongoose/lib/document.js:912:5)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at Document.validate.err (/opt/node/app/node_modules/mongoose/lib/document.js:904:20)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at ObjectId.SchemaType.doValidate (/opt/node/app/node_modules/mongoose/lib/schematype.js:548:22)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at Document.validate.err (/opt/node/app/node_modules/mongoose/lib/document.js:902:9)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at process.startup.processNextTick.process._tickCallback (node.js:244:9)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: info: shutting the server down pid=10191, env=development, app=api
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: at process.startup.processNextTick.process._tickCallback (node.js:244:9)
<13>Nov 18 12:15:06 ip-10-50-211-235 sketch-dev: info: shutting the server down pid=10191, env=development, app=api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment