We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My setup:
index.html:
<script type="text/javascript"> !function(a,b,c,d,e,f,g,h){a.RaygunObject=e,a[e]=a[e]||function(){ (a[e].o=a[e].o||[]).push(arguments)},f=b.createElement(c),g=b.getElementsByTagName(c)[0], f.async=1,f.src=d,g.parentNode.insertBefore(f,g),h=a.onerror,a.onerror=function(b,c,d,f,g){ h&&h(b,c,d,f,g),g||(g=new Error(b)),a[e].q=a[e].q||[],a[e].q.push({ e:g})}}(window,document,"script","//cdn.raygun.io/raygun4js/raygun.min.js","rg4js"); </script>
AngularJS Typescript Service:
declare const rg4js: RaygunV2; declare const raygunApiKey: string; // var rg4js = require('raygun4js'); raygunService.$inject = ['pingService']; export function raygunService (pingService) { const service = { configure: configure }; return service; function configure (user) { if (user) { rg4js('setUser', { identifier: user.email, isAnonymous: false, email: user.email, fullName: user.fullName }); } rg4js('apiKey', raygunApiKey); rg4js('enableCrashReporting', true); rg4js('enablePulse', false); } }
The text was updated successfully, but these errors were encountered:
onLoadHandler
Hi there, as you are using Angular, have you managed to follow these instructions instead to better suit your project? - https://raygun.com/documentation/language-guides/javascript/crash-reporting/angular/
Sorry, something went wrong.
Uh... I don't know. I guess I figured it out. I certainly haven't been struggling with the same issue since 2017...
No branches or pull requests
My setup:
index.html:
AngularJS Typescript Service:
The text was updated successfully, but these errors were encountered: