diff --git a/Sources/Auth/Model/AuthLoggable.swift b/Sources/Auth/Model/AuthLoggable.swift index 4dddad62..273fbbf0 100644 --- a/Sources/Auth/Model/AuthLoggable.swift +++ b/Sources/Auth/Model/AuthLoggable.swift @@ -78,9 +78,8 @@ extension AuthLoggable { metadata[Logger.Metadata.errorKey] = .string(.init(describing: error)) } metadata[Self.metadataPreviousSubstatusKey] = "\(previousSubstatus ?? "nil")" - return metadata default: - return [:] + break } metadata[Logger.Metadata.codeKey] = .string(eventCode)