digitalservicebund / useid-app-ios

iOS client for BundesIdent
MIT License
5 stars 1 forks source link

Fix tracking of Unleash errors #196

Closed ovejka closed 1 year ago

ovejka commented 1 year ago

Can’t track private errors with Sentry. Call:

issueTracker.capture(error: UnleashError.requestFailed(PollerError.network as NSError))

Outcome before:

po event.error
BundesIdent.(unknown context at $1017c52b4).UnleashError.requestFailed(UnleashProxyClientSwift.PollerError.network)

Outcome after:

po event.error
BundesIdent.UnleashError.requestFailed(UnleashProxyClientSwift.PollerError.network)