Skip to content

sofish/stacktrace.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

usage:

1. Embeb stacktrace.js file before the end of the head tag.

<script src="./stacktrace.js"></script>

2. Then, you can get an array everywhere whatever(whenever) u wnat. it named ErrorTrace.

alert(ErrorTrace.join('\n\n'));

3. if a url is specific, the error will automaticlly sent to the url using a post method.

About

record js stack trace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published