skygear-demo / shotbot3

ShotBot3 (Open-source)
MIT License
1 stars 0 forks source link

Integrate sentry and slack #29

Open david90 opened 7 years ago

david90 commented 7 years ago

Issue by jimcky Monday Feb 06, 2017 at 10:02 GMT Originally opened as https://github.com/oursky/shotbot3/issues/158


This is a quick getting started guide. For in-depth instructions on integrating Sentry with JavaScript, view our complete documentation.

Installation

The easiest way to load Raven.js is to load it directly from our CDN. This script tag should be included after other libraries are loaded, but before your main application code (e.g. app.js):

<script src="https://cdn.ravenjs.com/3.10.0/raven.min.js"></script>

For installation using npm or other package managers, see Installation.

Configuring the Client

Next you need to configure Raven.js to use your Sentry DSN:

Raven.config('https://6bdaaf3b370d44d7b788a2bb77fea157@sentry.io/135933').install() At this point, Raven is ready to capture any uncaught exception.

Once you have Raven up and running, it is highly recommended to check out Configuration and Usage.

david90 commented 7 years ago

Comment by jimcky Monday Feb 06, 2017 at 10:02 GMT


credentials to sentry account on 1Password

david90 commented 7 years ago

Comment by akiroz Monday Feb 06, 2017 at 11:48 GMT


@jimcky mind providing the sentry client endpoint? I don't have 1Password installed.