Prevent double logging and double error popup.
This commit is contained in:
parent
4799c3fcbb
commit
ab0c13efaf
@ -132,6 +132,7 @@ public protocol MVMCoreJSONActionHandlerProtocol: MVMCoreActionHandlerProtocol {
|
||||
@objc open func defaultHandleActionError(_ error: MVMCoreErrorObject, additionalData: [AnyHashable: Any]?) {
|
||||
guard error.logError else { return }
|
||||
MVMCoreLoggingHandler.addError(toLog: error)
|
||||
error.logError = false // Further attempts to log the same error will be skipped. (Legacy action flow.)
|
||||
}
|
||||
|
||||
// MARK: - Legacy Holdovers
|
||||
|
||||
Loading…
Reference in New Issue
Block a user