question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hermitdemschoenenlebencommented, Feb 23, 2022

great, thanks!

0reactions
lucas-zimermancommented, Sep 5, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Key character map files | Android Open Source Project
Key character map files ( .kcm files) are responsible for mapping combinations of Android key codes with modifiers to Unicode characters.
Read more >
IntelliJ IDEA incorrect encoding in console output
This works for me. Close your intellij idea; Search and open file idea.exe.vmoptions inside idea installed, for example: "C:\Program ...
Read more >
Prevent unwanted characters in <input> | by MelkorNemesis
So you can use this event.key to check whether or not you want the character appear in the <input> box.
Read more >
String.prototype.normalize() - JavaScript - MDN Web Docs
The normalize() method returns the Unicode Normalization Form of the string.
Read more >
Simulating keypress events on Android | The Code Artist
The following table summarizes all the supported keycodes in Android: ... In case a serial-console is NOT available on your device, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found