Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ispirett/error_hunter_npm
Realtime error tracking for live apps
https://github.com/ispirett/error_hunter_npm
Last synced: about 2 months ago
JSON representation
Realtime error tracking for live apps
- Host: GitHub
- URL: https://github.com/ispirett/error_hunter_npm
- Owner: Ispirett
- Created: 2020-03-26T17:57:10.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:36:12.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T03:59:24.865Z (3 months ago)
- Language: JavaScript
- Size: 478 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ErrorHunter for javascript
[![](https://data.jsdelivr.com/v1/package/npm/error_hunter/badge)](https://www.jsdelivr.com/package/npm/error_hunter)
## Realtime error tracking for live apps## Installation
##### before installing make sure you have an account here! [errorhunter](https://errorhunter.herokuapp.com)
###### Add this line to your application's Gemfile:```
yarn add error_hunter || npm i error_hunter
```## Setup
##### The api is simple
###### In your ```config/development``` or ``` config/production``` stage of your app the token and app name.
###### Your token and app_name is in the dashboard on https://errorhunter.herokuapp.com```javascript 1.8
import ErrorHunter from "error_hunter"
ErrorHunter.config('fixflex',' VrZYnbqXpJVVYdN8gEaizAd3')
export default ErrorHunter
```
## Usage
Logging an error is as simple as the code below.```javascript 1.8
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/## Development
After checking out the repo, run `npm install or yarn install` to install dependencies
## Contributing
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](https://github.com/[USERNAME]/error_hunter/blob/master/CODE_OF_CONDUCT.md).
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the ErrorHunter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ispirett/error_hunter_npm/blob/master/CODE_OF_CONDUCT.md).