diff --git a/Library/Sources/UILibrary/L10n/AppError+L10n.swift b/Library/Sources/UILibrary/L10n/AppError+L10n.swift index f5b91696..f20a6b21 100644 --- a/Library/Sources/UILibrary/L10n/AppError+L10n.swift +++ b/Library/Sources/UILibrary/L10n/AppError+L10n.swift @@ -93,7 +93,7 @@ extension PassepartoutError: @retroactive LocalizedError { return Strings.Errors.App.Passepartout.noActiveModules case .parsing: - let message = userInfo as? String ?? reason?.localizedDescription + let message = userInfo as? String ?? (reason as? LocalizedError)?.localizedDescription return [Strings.Errors.App.Passepartout.parsing, message] .compactMap { $0 }