0.0.5 • Published 2 years ago

@formidablejs/bugsnag-plugin v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.