Skip to content

BleemIs42/jsErrorReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

jsErrorReport

Use window.onerror to catch errors, including XMLHttpRequest and fetch requests.

Use

    window.errorReportUrl = 'http://www.example.com'
    // send report 
    // method: 'GET'
    // data
    {
        t: '2017-05-23 ',
        url: 'page path',
        msg: 'error message',
        ua: navigator.userAgent 
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published