Re-enable NSException on Share extension dismiss.

Disable crash logging in the share extension because of this.
This commit is contained in:
Doug
2022-03-18 15:19:57 +00:00
committed by Doug
parent 158b2860ec
commit f91a56295f
4 changed files with 17 additions and 2 deletions
+7 -2
View File
@@ -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)
}