Ember CLI Raygun
Note: This add on is currently in Beta! You may hit issues - please open an issue on Github if you have any problems! ❤️
It's as easy as:
$ ember install ember-cli-raygun
Now set your Raygun API Key (available under "Application Settings" in your Raygun Account) in
// config/environment.jsvar ENV =// ...raygun:apiKey: "YOUR-RAYGUN-API-KEY"enabled: environment === "production"// ...
Congratulations! You can now track and fix your errors once you deploy your app. (By default Ember CLI Raygun is disabled unless your environment is set to "production" - you can configure that behaviour in
Affected User Tracking
Check out the Affected User Tracking section in the raygun4js documentation for full details.
You potentially want something like the following in your
// app/routes/application.js// ...beforeModel:this;setRaygunUser:// assuming you have a currentUser property available...Raygun;// ...
Pull requests are welcome!
git clonethis repository
ember test --server