TelemetryDeck / SwiftSDK

Swift SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
https://telemetrydeck.com/
Other
155 stars 32 forks source link

[TelemetryManager] Replace fatalError With assertionFailure #146

Closed nickkohrn closed 6 months ago

nickkohrn commented 6 months ago

Replace fatalError(_:file:line:) with assertionFailure(_:file:line:) to catch uninitialized TelemetryManager.shared without crashing in release builds.

See issue #112 for context.

winsmith commented 6 months ago

Fantastic! Thank you so much!