Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Ionic React using Sentry Sourcemaps

$
0
0

Dear diary…

I watched this talk by Mike Hartington and Neil Manvar on Real time application monitoring for Ionic Apps with Sentry

I’m using the same Make file as per Mike’s git repo which is an app that deliberately throws errors.

When I execute the file, I can see that the Sourcemaps are being created, uploaded and linked to my releases but I’m not getting the stack traces on the errors.

I cloned the Sentry-React-Ionic project and committed it to my own repo, then also set it up on my Sentry account to see if I get the same results as I am getting with my project.

The results: Neither project gives stack traces when running it locally with “ionic serve” but when deployed to the device, the Sentry-React-Ionic app links it’s Sourcemaps correctly but mine, as mentioned, are not.

Sentry-React-Ionic App error

with the stack trace.

My error message
The first difference that I noticed is that my error is referencing a chunk, and not the tsx file.

with the stack trace, which is useful, but not all that useful.

So, finally, the question. As both projects’ Sourcemaps are generated and uploaded in the same way but yielding different results, where else should I be looking to troubleshoot this?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>