@formidablejs/bugsnag-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Bugsnag Plugin

Bugsnag notifier for the Formidable framework (work in progress).

trace

query

Requirements

Publish

craftsman publish --package=@formidablejs/bugsnag-plugin --tag=config

Config

Add BugsnagServiceResolver in the config/app.imba config under resolvers:

...

resolvers: {
	...
	require('@formidablejs/bugsnag-plugin').BugsnagServiceResolver

Note, the BugsnagServiceResolver must be at the top of the resolvers list.

Then, register the bugsnag.imba config file in the config/index.imba file:

...
import bugsnag from './bugsnag'

export class Config < ConfigRepository

	# All of the configuration items.
	#
	# @type {Object}

	get registered
		{
			...
			bugsnag
		}

And finally set your api key in the .env file:

BUGSNAG_API_KEY=<your-api-key>

Security

If you discover any security related issues, please email donaldpakkies@gmail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @formidablejs/bugsnag-plugin

Weekly Downloads

37

Version

0.0.5

License

MIT

Unpacked Size

22.8 kB

Total Files

10

Last publish

Collaborators

  • donaldpakkies