getsentry / sentry-capacitor

The official Sentry SDK for Capacitor

Home Page:https://sentry.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hostnames other than localhost break stack traces

jskrepnek opened this issue · comments

The RewriteFrames integration assumes that the hostname is localhost, but it is normal to override this for various reasons.

.replace(/^https?:\/\/localhost(:\d+)?/, '')
.replace(/^ng:\/\//, '')
.replace(/^capacitor:\/\/localhost(:\d+)?/, '');

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀