Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@boyney123
Created March 4, 2019 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boyney123/f81c37a66bf15fca61d2fa7a733c4514 to your computer and use it in GitHub Desktop.
Save boyney123/f81c37a66bf15fca61d2fa7a733c4514 to your computer and use it in GitHub Desktop.
Sentry setup example
import React, { Component } from "react";
import logo from "./logo.svg";
import Sentry from "./Sentry";
import ErrorExample from "./ErrorExample";
import "./App.css";
class App extends Component {
render() {
return (
<Sentry url="http://9ad974bebc5545e3aa3dd259f449ac7f@localhost:9000/2">
<div className="App">
<ErrorExample />
</div>
</Sentry>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment