Skip to content

Commit

Permalink
Merge pull request #166 from tidal-music/ekononenko/fix-auth-loggable…
Browse files Browse the repository at this point in the history
…-metadata

AuthLoggable - fix AuthLoggable metadata
  • Loading branch information
e-kononenko authored Nov 12, 2024
2 parents d2efcd9 + 324a0fc commit 89f271b
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 89f271b

Please sign in to comment.