Skip to content
Snippets Groups Projects
Unverified Commit 3d8b23ed authored by Greg Fodor's avatar Greg Fodor Committed by GitHub
Browse files

Merge pull request #139 from mozilla/feature/disable-sentry-in-development

Enable sentry in prod
parents 98192be2 af5016f3
No related branches found
No related tags found
No related merge requests found
import Raven from "raven-js";
export default function registerTelemetry() {
Raven.config("https://f571beaf5cee4e3085e0bf436f3eb158@sentry.io/256771").install();
if (process.env.NODE_ENV === "production") {
Raven.config("https://f571beaf5cee4e3085e0bf436f3eb158@sentry.io/256771").install();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment