New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-bugsnag

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-bugsnag

Adds the Bugsnag.js library to your Ember CLI app, and configures it to handle errors from Ember.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

ember-bugsnag

Adds the Bugsnag.js library to your Ember app, and configures it to handle errors from Ember and the browser.

Build Status

Installation

Requires Ember 2.3+

ember install ember-bugsnag

Configuration

ember-bugsnag will look for configuration options in your app's environment under the bugsnag key. This means you can access any of the public API configuration options accepted by Bugsnag.js.

Example:

  // config/environment.js

  ENV['bugsnag'] = {
    apiKey: 'SUPER_SECRET',
  };

ember-bugsnag will automatically set Bugsnag.releaseStage to match the environment in which your app is running.

For all the available configuration options, see Bugsnag.js Readme.

Usage

Bugsnag is available within your controllers and routes, allowing you to customise the behaviour of Bugsnag and send custom notifications.

It also allows you to use Bugsnag's user and metaData attributes.

Example:

// routes/application.js
// Example using simple-auth.

sessionAuthenticationSucceeded: function(){
  this._super();
  var user = this.get('currentUser');
  this.get('bugsnag').user = user.getProperties('id', 'email');
}
...

Running in development

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Keywords

FAQs

Package last updated on 25 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc