Automattic / Automattic-Tracks-iOS

Client library for tracking user events for later analysis
GNU General Public License v2.0
41 stars 12 forks source link

Update `CrashLoggingView` after adopting Sentry `flush`, and remove dead `throws` #236

Closed mokagio closed 1 year ago

mokagio commented 1 year ago

We no longer have error handling because of Sentry's flush, so having success and error states would be misleading. Likewise, none of the leftover code throw errors and there is no point in requiring callers to add do catch to use this code.

This is leftover work from #232. That PR has already been approved, so I created a new one to avoid noise.