Home

Awesome

Adonis5-Sentry

Sentry, Sentry SDK for Node JS , AdonisJS, Sentry for Adonis

typescript-image npm-image license-image

Sentry service provider for Adonis-5

<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

Table of contents

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Installation

npm i --save adonis5-sentry

Compile your code:

node ace serve --watch

Connect all dependences:

node ace invoke adonis5-sentry

Sample Usage

After loading all providers Sentry service will be initialized. After this you can import Sentry service anywhere in your application in such way:

 import Sentry from '@ioc:Adonis/Addons/Sentry'

For additional details of Sentry API, please check the Sentry SDK documentation by this link Sentry docs