UNPKG

raygun4js

Version:
22 lines (19 loc) 532 B
<!DOCTYPE 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>