Skip to content

Instantly share code, notes, and snippets.

@AramRafeq
Created May 25, 2020 09:10
Show Gist options
  • Save AramRafeq/2522cf174ece7b4383ad070c3a83918d to your computer and use it in GitHub Desktop.
Save AramRafeq/2522cf174ece7b4383ad070c3a83918d to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sentry.io Test</title>
<script>
function buttonClicked(){
alert("hello world");
}
</script>
</head>
<body>
<button onclick="buttonClicked()">Click Me To Generate Error</button>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sentry.io Test</title>
<script>
function buttonClicked(){
alet("hello world");
}
</script>
</head>
<body>
<button onclick="buttonClicked()">Click Me To Generate Error</button>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sentry.io Test</title>
<script src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js" integrity="sha384-wF7Jc4ZlWVxe/L8Ji3hOIBeTgo/HwFuaeEfjGmS3EXAG7Y+7Kjjr91gJpJtr+PAT" crossorigin="anonymous">
</script>
<script>
Sentry.init({ dsn: 'https://7d160b6f65094a8eb86c40156e0ad842@o351502.ingest.sentry.io/5252375' });
function buttonClicked(){
alet("hello world");
}
</script>
</head>
<body>
<button onclick="buttonClicked()">Click Me To Generate Error</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment