Open gideonthomas opened 6 years ago
The heroku app crashed last night and here's where I tracked down the stack to:
Stack trace:
19 Jul 2017 01:50:44.225 967 <190>1 2017-07-19T05:50:44.020175+00:00 host app web.1 - {"name":"openbadges-backpack","err":{"message":"Cannot call method 'trim' of undefined","name":"TypeError","stack":"TypeError: Cannot call method 'trim' of undefined\n at getUrlOrSignature (/app/controllers/backpack.js:432:21)\n at getAssertionData (/app/controllers/backpack.js:465:20)\n at nextTask (/app/node_modules/async/dist/async.js:5273:14)\n at next (/app/node_modules/async/dist/async.js:5280:9)\n at /app/node_modules/async/dist/async.js:906:16\n at StreamPng.textListener (/app/node_modules/openbadges-bakery/lib/png.js:65:12)\n at StreamPng.emit (events.js:95:17)\n at StreamPng.<anonymous> (/app/node_modules/openbadges-bakery/node_modules/streampng/index.js:63:15)\n at process._tickCallback (node.js:458:13)"},"msg":"Cannot call method 'trim' of undefined","time":"2017-07-19T05:50:44.020Z","v":0} » 19 Jul 2017 01:50:44.225 58 <190>1 2017-07-19T05:50:44.020203+00:00 host app web.1 - » 19 Jul 2017 01:50:44.225 95 <190>1 2017-07-19T05:50:44.020287+00:00 host app web.1 - /app/node_modules/messina/index.js:40 » 19 Jul 2017 01:50:44.225 74 <190>1 2017-07-19T05:50:44.020510+00:00 host app web.1 - throw err; » 19 Jul 2017 01:50:44.225 71 <190>1 2017-07-19T05:50:44.020516+00:00 host app web.1 - ^ » 19 Jul 2017 01:50:44.225 107 <190>1 2017-07-19T05:50:44.020535+00:00 host app web.1 - TypeError: Cannot call method 'trim' of undefined » 19 Jul 2017 01:50:44.225 120 <190>1 2017-07-19T05:50:44.020536+00:00 host app web.1 - at getUrlOrSignature (/app/controllers/backpack.js:432:21) » 19 Jul 2017 01:50:44.225 119 <190>1 2017-07-19T05:50:44.020536+00:00 host app web.1 - at getAssertionData (/app/controllers/backpack.js:465:20) » 19 Jul 2017 01:50:44.225 121 <190>1 2017-07-19T05:50:44.020537+00:00 host app web.1 - at nextTask (/app/node_modules/async/dist/async.js:5273:14) » 19 Jul 2017 01:50:44.225 116 <190>1 2017-07-19T05:50:44.020537+00:00 host app web.1 - at next (/app/node_modules/async/dist/async.js:5280:9) » 19 Jul 2017 01:50:44.225 109 <190>1 2017-07-19T05:50:44.020538+00:00 host app web.1 - at /app/node_modules/async/dist/async.js:906:16 » 19 Jul 2017 01:50:44.225 142 <190>1 2017-07-19T05:50:44.020538+00:00 host app web.1 - at StreamPng.textListener (/app/node_modules/openbadges-bakery/lib/png.js:65:12) » 19 Jul 2017 01:50:44.225 97 <190>1 2017-07-19T05:50:44.020539+00:00 host app web.1 - at StreamPng.emit (events.js:95:17) » 19 Jul 2017 01:50:44.225 162 <190>1 2017-07-19T05:50:44.020539+00:00 host app web.1 - at StreamPng.<anonymous> (/app/node_modules/openbadges-bakery/node_modules/streampng/index.js:63:15) » 19 Jul 2017 01:50:44.225 103 <190>1 2017-07-19T05:50:44.020540+00:00 host app web.1 - at process._tickCallback (node.js:458:13)
Hope that helps!
The heroku app crashed last night and here's where I tracked down the stack to:
Stack trace:
Hope that helps!