最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to do Crash Reporting for Web Apps - Stack Overflow

programmeradmin6浏览0评论

When I develop iPhone / iPad apps I always use a crash reporting system. My current favorite is Crashlytics - which works great.

For Android apps I've been using the rather more basic ACRA crash reporter.

Now that I'm building a webapp to be run on a client's own server, it seems a good idea to build in some kind of crash reporting system, probably linked off the window.onerror event.

Of course, I could build my own system. But does anyone know a good drop-in solution that sends and collates reports?

Incidentally, I'd prefer a pletely client-side solution (i.e. just JavaScript) rather than anything that requires server support.

When I develop iPhone / iPad apps I always use a crash reporting system. My current favorite is Crashlytics - which works great.

For Android apps I've been using the rather more basic ACRA crash reporter.

Now that I'm building a webapp to be run on a client's own server, it seems a good idea to build in some kind of crash reporting system, probably linked off the window.onerror event.

Of course, I could build my own system. But does anyone know a good drop-in solution that sends and collates reports?

Incidentally, I'd prefer a pletely client-side solution (i.e. just JavaScript) rather than anything that requires server support.

Share Improve this question asked Apr 11, 2013 at 9:48 Ben ClaytonBen Clayton 82.2k26 gold badges123 silver badges129 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 3

Whilst not currently supported by iOS, a number of browser platforms now support the W3C Reporting API which can be useful for reporting of crash and other analytics. For some examples see the MDN page on the Reporting API.

发布评论

评论列表(0)

  1. 暂无评论