raygun4js
Version:
Raygun.io plugin for JavaScript
22 lines (19 loc) • 532 B
HTML
<html>
<head>
<title>Raygun4JS with V1 API</title>
<script src="/fixtures/common/instrumentXHRs.js"></script>
<script src="/dist/raygun.js"></script>
</head>
<body>
<script type="text/javascript">
Raygun.init('abcdef==', {allowInsecureSubmissions: true}).attach();
Raygun.withCustomData({
myCustomKey: 'myCustomValue'
});
setTimeout(function () {
throw new Error('Unhandled error');
}, 1000);
</script>
</body>
</html>