Skip to content

Instantly share code, notes, and snippets.

@jorgepedret
Created February 27, 2013 23:48
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 jorgepedret/2b73410d1fbfa42b08d9 to your computer and use it in GitHub Desktop.
Save jorgepedret/2b73410d1fbfa42b08d9 to your computer and use it in GitHub Desktop.
$ jitsu logs app switchboard-commander-3 --debug
info: Welcome to Nodejitsu switchboardtest2
info: jitsu v0.12.1, node v0.8.6
info: It worked if it ends with Nodejitsu ok
info: Executing command logs app switchboard-commander-3
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/logs/switchboardtest2/switchboard-commander-3',
debug: headers:
debug: { Authorization: '*****************************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{"from":"NOW-1DAY","until":"NOW","rows":100}' }
debug: { statusCode: 500,
debug: result:
debug: { message: 'Unhandled error',
debug: stack: 'Error: Unhandled error\n at Object.onError (/root/nodejitsu/lib/nodejitsu.js:75:48)\n at Router.invoke (/root/nodejitsu/node_modules/director/lib/director/router.js:424:18)\n at /root/nodejitsu/node_modules/director/lib/director/router.js:47:9\n at httpUsers.attach.app.requireAuth (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users.js:54:16)\n at UserStrategy.authenticate (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/auth.js:63:11)\n at Resource._request.runBeforeHooks.args.push.obj._rev (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:140:15)\n at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:90:9)\n at /root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:78:20\n at exports.resource.app.resources.User.app.define.after.method (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/user/core.js:82:9)\n at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:76:9)' } }
error: Error running command logs app switchboard-commander-3
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: Unhandled error
error: at Object.onError (/root/nodejitsu/lib/nodejitsu.js:75:48)
error: at Router.invoke (/root/nodejitsu/node_modules/director/lib/director/router.js:424:18)
error: at /root/nodejitsu/node_modules/director/lib/director/router.js:47:9
error: at httpUsers.attach.app.requireAuth (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users.js:54:16)
error: at UserStrategy.authenticate (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/auth.js:63:11)
error: at Resource._request.runBeforeHooks.args.push.obj._rev (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:140:15)
error: at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:90:9)
error: at /root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:78:20
error: at exports.resource.app.resources.User.app.define.after.method (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/user/core.js:82:9)
error: at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:76:9)
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment