Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No events sent after console.log with umlauts (Android) #100

Closed
hermitdemschoenenleben opened this issue Nov 4, 2021 · 7 comments
Closed
Labels
bug Something isn't working Platform: Capacitor

Comments

@hermitdemschoenenleben
Copy link

Environment

I'm developing a capacitor app with @sentry/angular 6.14.0 and @sentry/capacitor 0.4.0 and sentry.io. I noticed that event reporting stopped after a short time in app. Analyzing the reason for this, I found out that console.log calls with umlauts cause the problem.

Steps to Reproduce

Sentry.captureException('first test message');
console.log('just normal stuff');
Sentry.captureException('still works');
console.log('üö');
Sentry.captureException('doesnt work anymore');

Expected Result

All messages should appear on sentry.io.

Actual Result

However, only the first two appear. This only happens when running the app on android. In the browser, everything works as expected.

@bruno-garcia bruno-garcia added the bug Something isn't working label Nov 28, 2021
@bruno-garcia
Copy link
Member

bruno-garcia commented Nov 28, 2021

Thanks for raising this. Indeed this looks like a bug.
Could you please enable debug mode so we can get more info on what's breaking?

https://docs.sentry.io/platforms/javascript/guides/capacitor/configuration/options/#debug

@jennmueng
Copy link
Member

@hermitdemschoenenleben Yep, debug mode like Bruno said, and if possible both logs from Javascript and Android logcat logs from Sentry.

@hermitdemschoenenleben
Copy link
Author

I attached the logcat (notice that I used Sentry.captureMessage, not Sentry.captureException like I wrote above)
logcat.txt

@hermitdemschoenenleben
Copy link
Author

in javascript console, there was no output

@KevinKelchen
Copy link

I think I reported this same issue (#124) and it's just been fixed and released in v0.4.3.

@hermitdemschoenenleben
Copy link
Author

great, thanks!

@lucas-zimerman
Copy link
Collaborator

Closed as fixed on #150 feel free to reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Platform: Capacitor
Projects
Archived in project
Development

No branches or pull requests

5 participants