mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Re-enable NSException on Share extension dismiss.
Disable crash logging in the share extension because of this.
This commit is contained in:
@@ -121,8 +121,13 @@ import AnalyticsEvents
|
||||
|
||||
MXLog.debug("[Analytics] Started.")
|
||||
|
||||
// Catch and log crashes
|
||||
MXLogger.logCrashes(true)
|
||||
if Bundle.main.isShareExtension {
|
||||
// Don't log crashes in the share extension
|
||||
} else {
|
||||
// Catch and log crashes
|
||||
MXLogger.logCrashes(true)
|
||||
}
|
||||
|
||||
MXLogger.setBuildVersion(AppInfo.current.buildInfo.readableBuildVersion)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user