before installing make sure you have an account here! errorhunter
yarn add error_hunter || npm i error_hunter
Your token and app_name is in the dashboard on https://errorhunter.herokuapp.com
import ErrorHunter from "error_hunter"
ErrorHunter.config('fixflex',' VrZYnbqXpJVVYdN8gEaizAd3')
export default ErrorHunter
Logging an error is as simple as the code below.
import ErrorHunter from "from where you setup the config file"
ErrorHunter.add_error('TestAppError',
'Some error took place',
'An Exception was thrown',
'file.js/has error',
'urgent')
You can now monitor errors in realtime in your dashboard at https://errorhunter.herokuapp.com/
After checking out the repo, run npm install or yarn install
to install dependencies
Bug reports and pull requests are welcome on GitHub at https://github.com/ispirett/error_hunter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the ErrorHunter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.