Table of contents

Integrations

One of the core components of Hawk is its Catchers. 

A Catcher is a small library that can be installed in your application. It captures all runtime errors and sends them to Hawk.

Hawk offers several officially supported Catchers. Below, you can find a list of Catchers along with links to their GitHub repositories.

If you don’t find a Catcher for your app’s language, you can create one yourself. Refer to the document ‘How to Create a Catcher’ for guidance.

A Catcher can bind to the global error handler and catch all unhandled errors to send them to the Hawk.

A User can use Catcher in order to send an event to the Hawk manually, with a simple method call (e.g. hawk.send(new Error())  or hawk.send('Your message')).

A Catcher has the ability to specify a custom context in an event in order to send it to the Hawk with the event.

Context is any data that the user can send along with the event in order to view it in the Event overview. This can be extremely useful when debugging an application.

It is possible to specify user data while sending an event for easily debugging.

Addons are additional information about an event that can help you debug it. Addons are built automatically. Use context if you need to send custom data.

If you want to filter some event's data before sending it to the Hawk (e.g. bank cards numbers, tokens, etc), you can specify before send hook, that fires every time before sending an event. With this hook, you can remove fields and values which contain sensitive information.

If you're migrating from Sentry SDK, simply change the `dsn` option in your sentry configuration to Hawk's DSN that you can copy on Project Settings / Integration page. Read this guide for more details: http://codex.so/sentry-migration