-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't seem to work with Ember 1.13.x #13
Comments
@constantm I've rewritten this to use the latest airbrake api and be a little smarter overall about how it works. |
Awesome thanks, will give it a go! :) |
Right, I've had a look and it seems that I can inject the Airbrake service, and then manually send error notifications. However, it still doesn't catch window or Ember exceptions. |
@constantm Can you let me know more about your setup? I misread this title before — are you actually using ember pre 1.0? Or Ember 1.13.x? In Ember 1.13, it appears that errors in transitions do not get to the Ember Here is an example app, btw, if you'd like to see what I was testing it with. Adding errors to the |
@bantic Sorry about the title - meant 1.13.x :) Thanks, I'll add in an action as suggested. I should probably update Ember sooner rather than later. |
@constantm No worries, thanks for opening the issue. I'll add another one to document that the |
Wanted to add some docs for this and went over it again. It seems that it now actually does work with Ember 1.13.x? What's more, when an error occurs it doesn't actually bubble to the application route and the |
@constantm Can you share any code? This addon should work (insofar as it adds the airbrake client code, adds window.onerror and Ember.onerror handlers that report to airbrake, and exposes an 'airbrake' service when installed) for Ember 1.13.x as of the latest version (0.1.0). |
I'm using this addon with Errbit and had to add rack-cors to get it working (it looks like it uses an old version of the Airbrake API? Version 0.3 instead of 0.5). Anyway, from there I can push errors using Airbrake.push('error'). No browser or Ember errors get pushed though. Raising an error using
throw 'test'
doesn't get pushed. Neither do Ember errors. The following being an example:which raises:
This surely has to work with Ember 0.13.x. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: