An open API service indexing awesome lists of open source software.

https://github.com/sofish/stacktrace.js

record js stack trace
https://github.com/sofish/stacktrace.js

Last synced: over 1 year ago
JSON representation

record js stack trace

Awesome Lists containing this project

README

          

## usage:

__1.__ Embeb __stacktrace.js__ file before the end of the `head` tag.

```html

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

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

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