Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

openrm/hato-sentry-typed

 
 

Repository files navigation

hato-sentry

Report errors happening in hato using an existing Sentry module

install

npm i hato-sentry

usage

Init your hato client instance as usual, including the plugin in the plugins list:

const { Client } = require("hato");
const SentryPlugin = require("hato-sentry");

const Sentry = require("@sentry/node");

Sentry.init({
  dsn: '__DSN__',
  // ...
});

const client = new Client('__AMQP_CONN_STRING__', {
    plugins: [
        new SentryPlugin({ Sentry })
    ]
});

About

Basic type declarations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.2%
  • Makefile 9.8%