UNPKG

raygun4js

Version:
20 lines (17 loc) 616 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.setUser('user_email_address@localhost.local', false, 'user_email_address@localhost.local', 'Foo Bar', 'Foo', 'BAE62917-ACE8-ab3D-9287-B6A33B8E8C55'); setTimeout(function () { throw new Error('Unhandled error'); }, 1000); </script> </body> </html>