Ember.js: how to analyze error in vendor.js -
i've deployed ember-cli app in stage environment let teammates test app. in app have implemented ember.onerror email me errors occur in stage , in production environment.
ember.onerror = function(data) { ember.$.ajax({ type: "post", url: url + "/error", datatype: 'json', contenttype: 'application/json', data: json.stringify({message: data.message, stacktrace: data.stack}), beforesend: function (xhr, settings) { xhr.setrequestheader('accept', settings.accepts.json); } }); } i'm having difficulties in analyze stacktrace because references vendor.js , can't understand problem is.
for example i've received following message:
message: nothing handled action 'back'. if did handle action, error can caused returning true action handler in controller, causing action bubble.
and stacktrace:
embererror@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:25705:26 triggerevent@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:38985:44 trigger@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:64971:26 trigger@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:63740:21 send@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:38468:45 send@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:42710:26 runregisteredaction@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:33277:30 run@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:10765:30 run@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:30030:32 handler@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:33269:39 http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:55210:34 dispatch@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:4872:14 handle@http://example.com/assets/vendor-952b195e45ab9682c02f1fabba312c19.js:4540:33 the meaning of error message clear, i'm wondering if there's way recognize back action not handled.
Comments
Post a Comment