Skip to content

Commit

Permalink
AuthLoggable - do not return in switch
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kononenko committed Nov 12, 2024
1 parent d2efcd9 commit 324a0fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/Auth/Model/AuthLoggable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 324a0fc

Please sign in to comment.