Ionic Error Logging with Sentry using Capacitor [v6]


Debugging your Ionic app is usually only possible in your local environment – but what if you could see errors that happen when users are using your app in the wild?

In this Quick Win we will use the Sentry service for error tracking and monitoring which will allow us to catch any error that happens in our Ionic app almost in realtime!

We’ll see how to integrate it correctly and trigger automatic logs with Angular, and on top of that we’ll supply Sentry with source maps so we can even se the exact line of code in which an error happened for one of our customers.

The full quick win with snippets is only available to Ionic Academy members.
Join now for

  • Unlimited access to all quick wins
  • Library of 40+ step-by-step video courses
  • Support for Ionic questions via Slack & private community

Join now & Unlock

Current member? LOGIN

Leave a Reply

Your email address will not be published. Required fields are marked *