Question

I am a web and iOS developer. On mobile we have famous tools to collect all the exceptions and errors that application thorws.

There's Crashlytics (and others) that with few lines of code to install the sdk, start tracking everything automatically. Then them display the error and useful informations on their website with priority and other stats.

Exists something like that for web applications? Or explicitly for php or js apps?

Thanks ;)

Was it helpful?

Solution 2

www.exceptional.io is exactly what you're asking for. It costs $9 per month after a free trial.

Integration with PHP is done by including a wrapper and a couple of lines of code: https://github.com/ankane/exceptional-php/

It can also be integrated with javascript with a couple of lines:

<script type="text/javascript" src="http://js.exceptional.io/exceptional.js"></script>
<script type="text/javascript">
  Exceptional.setKey('your_api_key');
</script>

Another option is New Relic, although it does a lot more than purely error logging - it provides all kinds of server monitoring metrics. https://docs.newrelic.com/docs/applications-menu/errors-dashboard

OTHER TIPS

There's was a great discussion on this topic by Paul Irish on Google+ https://plus.google.com/+PaulIrish/posts/12BVL5exFJn (No longer available after Google+ closed). But here is the summary of that post.

Some of the services mentioned:

  • bugsense.com
  • jslogger.com
  • qbaka.com
  • muscula.com
  • errorception.com
  • exceptionhub.com
  • bugsnag.com
  • exceptional.io
  • airbrake.io
  • getsentry.com
  • github.com/Offbeatmammal/jsErrLog - open source
  • github.com/occ/TraceKit - most comprehensive stacktrace library

Future users may find following useful.

Sentry is a Crashlytics like solution for lots of platforms

  • Web front-ends and their frameworks / libraries like React, Angular, Vue.
  • Back-ends languages and their runtimes / frameworks / libraries like Rails, Express, Lavarel.
  • Serverless platforms
  • IoT
  • Mobile clients including frameworks like React Native, Flutter.
  • Desktop platforms ex: MacOS, Windows, Linux
  • Gaming platforms ex: Unity, Unreal
  • Data

In addition to error reporting it also support performance monitoring.

More than anything it is a fully open sourced product including the both client and the server, not just opensource core. So it can be fully self hosted.


Note : I am not affiliated with Sentry in anyway.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top