Skip to content

Commit

Permalink
feat: add js running error get js error stack message
Browse files Browse the repository at this point in the history
  • Loading branch information
MriLiuJY committed Jul 9, 2019
1 parent fc4b814 commit c615fbc
Show file tree
Hide file tree
Showing 5 changed files with 320 additions and 51 deletions.
222 changes: 222 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,225 @@
## 0.0.1-beta (2019-07-09)


### Bug Fixes

* change get wrap data func ([b61e367](https://github.com/MriLiuJY/FE-Monitor/commit/b61e367))
* fix report url width 'protocol' value ([fc4b814](https://github.com/MriLiuJY/FE-Monitor/commit/fc4b814))
* get data type detail ([7ad5686](https://github.com/MriLiuJY/FE-Monitor/commit/7ad5686))


### Features

* add addEventListener watch error event ([d99cbf9](https://github.com/MriLiuJY/FE-Monitor/commit/d99cbf9))
* add babel conf ([8aef7bf](https://github.com/MriLiuJY/FE-Monitor/commit/8aef7bf))
* add base features files ([acc1bf1](https://github.com/MriLiuJY/FE-Monitor/commit/acc1bf1))
* add base webpack config ([c7b1955](https://github.com/MriLiuJY/FE-Monitor/commit/c7b1955))
* add config extend ([27f2196](https://github.com/MriLiuJY/FE-Monitor/commit/27f2196))
* add crossorigin ([9ff9df6](https://github.com/MriLiuJY/FE-Monitor/commit/9ff9df6))
* add eventListener get resource error ([53cfdaf](https://github.com/MriLiuJY/FE-Monitor/commit/53cfdaf))
* add get ajax timeout error ([080f2b9](https://github.com/MriLiuJY/FE-Monitor/commit/080f2b9))
* add index.html common create error func ([af34341](https://github.com/MriLiuJY/FE-Monitor/commit/af34341))
* add js running error catch ([c4db726](https://github.com/MriLiuJY/FE-Monitor/commit/c4db726))
* add listen promise error ([3b7191b](https://github.com/MriLiuJY/FE-Monitor/commit/3b7191b))
* add mongoose conf ([1e9336c](https://github.com/MriLiuJY/FE-Monitor/commit/1e9336c))
* add new enent center file ([fda13f4](https://github.com/MriLiuJY/FE-Monitor/commit/fda13f4))
* add testpage && README desc ([d427bf2](https://github.com/MriLiuJY/FE-Monitor/commit/d427bf2))
* add user conf report url ([9a4f8ef](https://github.com/MriLiuJY/FE-Monitor/commit/9a4f8ef))
* change get Wraper data ([8a3f2a3](https://github.com/MriLiuJY/FE-Monitor/commit/8a3f2a3))
* common js error ([10a6f2f](https://github.com/MriLiuJY/FE-Monitor/commit/10a6f2f))
* finish addeventer ajax error and report ([ac6d7ca](https://github.com/MriLiuJY/FE-Monitor/commit/ac6d7ca))
* finish ajaxErrot report ([1f283c0](https://github.com/MriLiuJY/FE-Monitor/commit/1f283c0))
* get base info && webRtc get real ip address ([b875b35](https://github.com/MriLiuJY/FE-Monitor/commit/b875b35))
* moitor global XMLhttpRequest error ([27d4843](https://github.com/MriLiuJY/FE-Monitor/commit/27d4843))
* webpack conf add gzip config ([b9c13ed](https://github.com/MriLiuJY/FE-Monitor/commit/b9c13ed))



## 0.0.1-beta (2019-07-09)


### Bug Fixes

* change get wrap data func ([b61e367](https://github.com/MriLiuJY/FE-Monitor/commit/b61e367))
* fix report url width 'protocol' value ([fc4b814](https://github.com/MriLiuJY/FE-Monitor/commit/fc4b814))
* get data type detail ([7ad5686](https://github.com/MriLiuJY/FE-Monitor/commit/7ad5686))


### Features

* add addEventListener watch error event ([d99cbf9](https://github.com/MriLiuJY/FE-Monitor/commit/d99cbf9))
* add babel conf ([8aef7bf](https://github.com/MriLiuJY/FE-Monitor/commit/8aef7bf))
* add base features files ([acc1bf1](https://github.com/MriLiuJY/FE-Monitor/commit/acc1bf1))
* add base webpack config ([c7b1955](https://github.com/MriLiuJY/FE-Monitor/commit/c7b1955))
* add config extend ([27f2196](https://github.com/MriLiuJY/FE-Monitor/commit/27f2196))
* add crossorigin ([9ff9df6](https://github.com/MriLiuJY/FE-Monitor/commit/9ff9df6))
* add eventListener get resource error ([53cfdaf](https://github.com/MriLiuJY/FE-Monitor/commit/53cfdaf))
* add get ajax timeout error ([080f2b9](https://github.com/MriLiuJY/FE-Monitor/commit/080f2b9))
* add index.html common create error func ([af34341](https://github.com/MriLiuJY/FE-Monitor/commit/af34341))
* add js running error catch ([c4db726](https://github.com/MriLiuJY/FE-Monitor/commit/c4db726))
* add listen promise error ([3b7191b](https://github.com/MriLiuJY/FE-Monitor/commit/3b7191b))
* add mongoose conf ([1e9336c](https://github.com/MriLiuJY/FE-Monitor/commit/1e9336c))
* add new enent center file ([fda13f4](https://github.com/MriLiuJY/FE-Monitor/commit/fda13f4))
* add testpage && README desc ([d427bf2](https://github.com/MriLiuJY/FE-Monitor/commit/d427bf2))
* add user conf report url ([9a4f8ef](https://github.com/MriLiuJY/FE-Monitor/commit/9a4f8ef))
* change get Wraper data ([8a3f2a3](https://github.com/MriLiuJY/FE-Monitor/commit/8a3f2a3))
* common js error ([10a6f2f](https://github.com/MriLiuJY/FE-Monitor/commit/10a6f2f))
* finish addeventer ajax error and report ([ac6d7ca](https://github.com/MriLiuJY/FE-Monitor/commit/ac6d7ca))
* finish ajaxErrot report ([1f283c0](https://github.com/MriLiuJY/FE-Monitor/commit/1f283c0))
* get base info && webRtc get real ip address ([b875b35](https://github.com/MriLiuJY/FE-Monitor/commit/b875b35))
* moitor global XMLhttpRequest error ([27d4843](https://github.com/MriLiuJY/FE-Monitor/commit/27d4843))
* webpack conf add gzip config ([b9c13ed](https://github.com/MriLiuJY/FE-Monitor/commit/b9c13ed))



## 0.0.1-beta (2019-07-09)


### Bug Fixes

* change get wrap data func ([b61e367](https://github.com/MriLiuJY/FE-Monitor/commit/b61e367))
* fix report url width 'protocol' value ([fc4b814](https://github.com/MriLiuJY/FE-Monitor/commit/fc4b814))
* get data type detail ([7ad5686](https://github.com/MriLiuJY/FE-Monitor/commit/7ad5686))


### Features

* add addEventListener watch error event ([d99cbf9](https://github.com/MriLiuJY/FE-Monitor/commit/d99cbf9))
* add babel conf ([8aef7bf](https://github.com/MriLiuJY/FE-Monitor/commit/8aef7bf))
* add base features files ([acc1bf1](https://github.com/MriLiuJY/FE-Monitor/commit/acc1bf1))
* add base webpack config ([c7b1955](https://github.com/MriLiuJY/FE-Monitor/commit/c7b1955))
* add config extend ([27f2196](https://github.com/MriLiuJY/FE-Monitor/commit/27f2196))
* add crossorigin ([9ff9df6](https://github.com/MriLiuJY/FE-Monitor/commit/9ff9df6))
* add eventListener get resource error ([53cfdaf](https://github.com/MriLiuJY/FE-Monitor/commit/53cfdaf))
* add get ajax timeout error ([080f2b9](https://github.com/MriLiuJY/FE-Monitor/commit/080f2b9))
* add index.html common create error func ([af34341](https://github.com/MriLiuJY/FE-Monitor/commit/af34341))
* add js running error catch ([c4db726](https://github.com/MriLiuJY/FE-Monitor/commit/c4db726))
* add listen promise error ([3b7191b](https://github.com/MriLiuJY/FE-Monitor/commit/3b7191b))
* add mongoose conf ([1e9336c](https://github.com/MriLiuJY/FE-Monitor/commit/1e9336c))
* add new enent center file ([fda13f4](https://github.com/MriLiuJY/FE-Monitor/commit/fda13f4))
* add testpage && README desc ([d427bf2](https://github.com/MriLiuJY/FE-Monitor/commit/d427bf2))
* add user conf report url ([9a4f8ef](https://github.com/MriLiuJY/FE-Monitor/commit/9a4f8ef))
* change get Wraper data ([8a3f2a3](https://github.com/MriLiuJY/FE-Monitor/commit/8a3f2a3))
* common js error ([10a6f2f](https://github.com/MriLiuJY/FE-Monitor/commit/10a6f2f))
* finish addeventer ajax error and report ([ac6d7ca](https://github.com/MriLiuJY/FE-Monitor/commit/ac6d7ca))
* finish ajaxErrot report ([1f283c0](https://github.com/MriLiuJY/FE-Monitor/commit/1f283c0))
* get base info && webRtc get real ip address ([b875b35](https://github.com/MriLiuJY/FE-Monitor/commit/b875b35))
* moitor global XMLhttpRequest error ([27d4843](https://github.com/MriLiuJY/FE-Monitor/commit/27d4843))
* webpack conf add gzip config ([b9c13ed](https://github.com/MriLiuJY/FE-Monitor/commit/b9c13ed))



## 0.0.1-beta (2019-07-09)


### Bug Fixes

* change get wrap data func ([b61e367](https://github.com/MriLiuJY/FE-Monitor/commit/b61e367))
* fix report url width 'protocol' value ([fc4b814](https://github.com/MriLiuJY/FE-Monitor/commit/fc4b814))
* get data type detail ([7ad5686](https://github.com/MriLiuJY/FE-Monitor/commit/7ad5686))


### Features

* add addEventListener watch error event ([d99cbf9](https://github.com/MriLiuJY/FE-Monitor/commit/d99cbf9))
* add babel conf ([8aef7bf](https://github.com/MriLiuJY/FE-Monitor/commit/8aef7bf))
* add base features files ([acc1bf1](https://github.com/MriLiuJY/FE-Monitor/commit/acc1bf1))
* add base webpack config ([c7b1955](https://github.com/MriLiuJY/FE-Monitor/commit/c7b1955))
* add config extend ([27f2196](https://github.com/MriLiuJY/FE-Monitor/commit/27f2196))
* add crossorigin ([9ff9df6](https://github.com/MriLiuJY/FE-Monitor/commit/9ff9df6))
* add eventListener get resource error ([53cfdaf](https://github.com/MriLiuJY/FE-Monitor/commit/53cfdaf))
* add get ajax timeout error ([080f2b9](https://github.com/MriLiuJY/FE-Monitor/commit/080f2b9))
* add index.html common create error func ([af34341](https://github.com/MriLiuJY/FE-Monitor/commit/af34341))
* add js running error catch ([c4db726](https://github.com/MriLiuJY/FE-Monitor/commit/c4db726))
* add listen promise error ([3b7191b](https://github.com/MriLiuJY/FE-Monitor/commit/3b7191b))
* add mongoose conf ([1e9336c](https://github.com/MriLiuJY/FE-Monitor/commit/1e9336c))
* add new enent center file ([fda13f4](https://github.com/MriLiuJY/FE-Monitor/commit/fda13f4))
* add testpage && README desc ([d427bf2](https://github.com/MriLiuJY/FE-Monitor/commit/d427bf2))
* add user conf report url ([9a4f8ef](https://github.com/MriLiuJY/FE-Monitor/commit/9a4f8ef))
* change get Wraper data ([8a3f2a3](https://github.com/MriLiuJY/FE-Monitor/commit/8a3f2a3))
* common js error ([10a6f2f](https://github.com/MriLiuJY/FE-Monitor/commit/10a6f2f))
* finish addeventer ajax error and report ([ac6d7ca](https://github.com/MriLiuJY/FE-Monitor/commit/ac6d7ca))
* finish ajaxErrot report ([1f283c0](https://github.com/MriLiuJY/FE-Monitor/commit/1f283c0))
* get base info && webRtc get real ip address ([b875b35](https://github.com/MriLiuJY/FE-Monitor/commit/b875b35))
* moitor global XMLhttpRequest error ([27d4843](https://github.com/MriLiuJY/FE-Monitor/commit/27d4843))
* webpack conf add gzip config ([b9c13ed](https://github.com/MriLiuJY/FE-Monitor/commit/b9c13ed))



## 0.0.1-beta (2019-07-09)


### Bug Fixes

* change get wrap data func ([b61e367](https://github.com/MriLiuJY/FE-Monitor/commit/b61e367))
* fix report url width 'protocol' value ([fc4b814](https://github.com/MriLiuJY/FE-Monitor/commit/fc4b814))
* get data type detail ([7ad5686](https://github.com/MriLiuJY/FE-Monitor/commit/7ad5686))


### Features

* add addEventListener watch error event ([d99cbf9](https://github.com/MriLiuJY/FE-Monitor/commit/d99cbf9))
* add babel conf ([8aef7bf](https://github.com/MriLiuJY/FE-Monitor/commit/8aef7bf))
* add base features files ([acc1bf1](https://github.com/MriLiuJY/FE-Monitor/commit/acc1bf1))
* add base webpack config ([c7b1955](https://github.com/MriLiuJY/FE-Monitor/commit/c7b1955))
* add config extend ([27f2196](https://github.com/MriLiuJY/FE-Monitor/commit/27f2196))
* add crossorigin ([9ff9df6](https://github.com/MriLiuJY/FE-Monitor/commit/9ff9df6))
* add eventListener get resource error ([53cfdaf](https://github.com/MriLiuJY/FE-Monitor/commit/53cfdaf))
* add get ajax timeout error ([080f2b9](https://github.com/MriLiuJY/FE-Monitor/commit/080f2b9))
* add index.html common create error func ([af34341](https://github.com/MriLiuJY/FE-Monitor/commit/af34341))
* add js running error catch ([c4db726](https://github.com/MriLiuJY/FE-Monitor/commit/c4db726))
* add listen promise error ([3b7191b](https://github.com/MriLiuJY/FE-Monitor/commit/3b7191b))
* add mongoose conf ([1e9336c](https://github.com/MriLiuJY/FE-Monitor/commit/1e9336c))
* add new enent center file ([fda13f4](https://github.com/MriLiuJY/FE-Monitor/commit/fda13f4))
* add testpage && README desc ([d427bf2](https://github.com/MriLiuJY/FE-Monitor/commit/d427bf2))
* add user conf report url ([9a4f8ef](https://github.com/MriLiuJY/FE-Monitor/commit/9a4f8ef))
* change get Wraper data ([8a3f2a3](https://github.com/MriLiuJY/FE-Monitor/commit/8a3f2a3))
* common js error ([10a6f2f](https://github.com/MriLiuJY/FE-Monitor/commit/10a6f2f))
* finish addeventer ajax error and report ([ac6d7ca](https://github.com/MriLiuJY/FE-Monitor/commit/ac6d7ca))
* finish ajaxErrot report ([1f283c0](https://github.com/MriLiuJY/FE-Monitor/commit/1f283c0))
* get base info && webRtc get real ip address ([b875b35](https://github.com/MriLiuJY/FE-Monitor/commit/b875b35))
* moitor global XMLhttpRequest error ([27d4843](https://github.com/MriLiuJY/FE-Monitor/commit/27d4843))
* webpack conf add gzip config ([b9c13ed](https://github.com/MriLiuJY/FE-Monitor/commit/b9c13ed))



## 0.0.1-beta (2019-07-09)


### Bug Fixes

* change get wrap data func ([b61e367](https://github.com/MriLiuJY/FE-Monitor/commit/b61e367))
* fix report url width 'protocol' value ([fc4b814](https://github.com/MriLiuJY/FE-Monitor/commit/fc4b814))
* get data type detail ([7ad5686](https://github.com/MriLiuJY/FE-Monitor/commit/7ad5686))


### Features

* add addEventListener watch error event ([d99cbf9](https://github.com/MriLiuJY/FE-Monitor/commit/d99cbf9))
* add babel conf ([8aef7bf](https://github.com/MriLiuJY/FE-Monitor/commit/8aef7bf))
* add base features files ([acc1bf1](https://github.com/MriLiuJY/FE-Monitor/commit/acc1bf1))
* add base webpack config ([c7b1955](https://github.com/MriLiuJY/FE-Monitor/commit/c7b1955))
* add config extend ([27f2196](https://github.com/MriLiuJY/FE-Monitor/commit/27f2196))
* add crossorigin ([9ff9df6](https://github.com/MriLiuJY/FE-Monitor/commit/9ff9df6))
* add eventListener get resource error ([53cfdaf](https://github.com/MriLiuJY/FE-Monitor/commit/53cfdaf))
* add get ajax timeout error ([080f2b9](https://github.com/MriLiuJY/FE-Monitor/commit/080f2b9))
* add index.html common create error func ([af34341](https://github.com/MriLiuJY/FE-Monitor/commit/af34341))
* add js running error catch ([c4db726](https://github.com/MriLiuJY/FE-Monitor/commit/c4db726))
* add listen promise error ([3b7191b](https://github.com/MriLiuJY/FE-Monitor/commit/3b7191b))
* add mongoose conf ([1e9336c](https://github.com/MriLiuJY/FE-Monitor/commit/1e9336c))
* add new enent center file ([fda13f4](https://github.com/MriLiuJY/FE-Monitor/commit/fda13f4))
* add testpage && README desc ([d427bf2](https://github.com/MriLiuJY/FE-Monitor/commit/d427bf2))
* add user conf report url ([9a4f8ef](https://github.com/MriLiuJY/FE-Monitor/commit/9a4f8ef))
* change get Wraper data ([8a3f2a3](https://github.com/MriLiuJY/FE-Monitor/commit/8a3f2a3))
* common js error ([10a6f2f](https://github.com/MriLiuJY/FE-Monitor/commit/10a6f2f))
* finish addeventer ajax error and report ([ac6d7ca](https://github.com/MriLiuJY/FE-Monitor/commit/ac6d7ca))
* finish ajaxErrot report ([1f283c0](https://github.com/MriLiuJY/FE-Monitor/commit/1f283c0))
* get base info && webRtc get real ip address ([b875b35](https://github.com/MriLiuJY/FE-Monitor/commit/b875b35))
* moitor global XMLhttpRequest error ([27d4843](https://github.com/MriLiuJY/FE-Monitor/commit/27d4843))
* webpack conf add gzip config ([b9c13ed](https://github.com/MriLiuJY/FE-Monitor/commit/b9c13ed))



## 0.0.1-beta (2019-07-05)


Expand Down
67 changes: 36 additions & 31 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,42 @@
<body>
<h1>Monitor 打包测试</h1>

<!-- ajax请求错误 -->
<p>ajax请求错误</p>
<button class="err-ajax-request">ajax请求错误</button>
<button class="servererr-ajax-request">服务端错误</button>
<button class="fail-ajax-request">ajax失败</button>
<button class="timeout-ajax-request">ajax超时</button>
<button>jsonp请求失败</button>
<hr>

<!-- js执行错误 -->
<p>js执行错误</p>
<button class="js-running-error">js执行错误</button>
<hr>

<!-- js内存泄漏 -->
<!-- <p>js内存泄漏</p>
<button>js内存泄漏</button>
<hr> -->

<!-- 资源没有加载 -->
<p>资源没有加载</p>
<button class="err-js-load">没有加载javascript</button>
<button class="err-css-load">没有加载css</button>
<button class="err-image-load">没有加载image</button>
<button class="err-iframe-load">没有加载iframe</button>
<hr>

<!-- 第三方资源错误 -->
<p>第三方资源错误</p>
<button class="other-resource-error">第三方资源错误</button>
<hr>
<!-- ajax请求错误 -->
<p>ajax请求错误</p>
<button class="err-ajax-request">ajax请求错误</button>
<button class="servererr-ajax-request">服务端错误</button>
<button class="fail-ajax-request">ajax失败</button>
<button class="timeout-ajax-request">ajax超时</button>
<button>jsonp请求失败</button>
<hr>

<!-- js执行错误 -->
<p>js执行错误</p>
<button class="js-running-error">js执行错误</button>
<hr>

<!-- Promise 错误 -->
<p>Promise 错误</p>
<button class="promise-error">Promise 错误</button>
<hr>

<!-- js内存泄漏 -->
<!-- <p>js内存泄漏</p>
<button>js内存泄漏</button>
<hr> -->

<!-- 资源没有加载 -->
<p>资源没有加载</p>
<button class="err-js-load">没有加载javascript</button>
<button class="err-css-load">没有加载css</button>
<button class="err-image-load">没有加载image</button>
<button class="err-iframe-load">没有加载iframe</button>
<hr>

<!-- 第三方资源错误 -->
<p>第三方资源错误</p>
<button class="other-resource-error">第三方资源错误</button>
<hr>

<script src="../version.js"></script>
<script src="../createError.js"></script>
Expand Down
Loading

0 comments on commit c615fbc

Please sign in to comment.