Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

ember-cli-reporter

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-reporter

The default blueprint for ember-cli addons.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
7
Maintainers
2
Weekly downloads
 
Created
Source

Ember CLI Reporter

Embadge

This addon is still under development.

This addon aims to simplify remote error reporting in ember apps.

Installation

Ember-cli-reporter works with plugins to report issues to specific error reporting systems. The following addons exist for reporting to with ember-cli-reporter:

  • [ember-cli-reporter](Ember-cli-reporter works with plugins to report issues to specific error reporting systems.)

To use ember-cli-reporter install one of these addons to your ember-cli project. E.g.

ember install ember-cli-reporter-bugsnag

You will likely need to provide configuration to the plugin, see the plugin instructions. For example adding to config/environment.js:

bugsnag: {
  apiKey: 'secretApiKey'
}

Creating a reporter plugin

Ember-cli-reporter works with plugins to report issues to specific error reporting systems. See ember-cli-reporter-bugsnag for an example plugin.

A plugin is expected to

  • ensure that ember-cli-reporter is installed example,
  • expose a module which defines the following hooks and variables example

Hooks

name

The name of the addon e.g. 'ember-cli-reporter-bugsnag'.

configNamespace

The location of the config hash in config/environment.js. Defaults to the name of the addon.

E.g. if configNamespace is set to bugsnag, ember-cli-reporter will look for

bugsnag: {
  key: value
}

in config/environment.js.

configure(config)

Called when an app with ember-cli-reporter is initialized. Passes in the config specified by configNamespace setting.

error(error)

Called when an error occurs. Passes in the error instance provided by Ember.onerror.

Keywords

ember-addon

FAQs

Package last updated on 13 Jun 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