[AltStoreCore] Includes more context when logging Patreon account errors

Includes full decoding path if possible.
This commit is contained in:
Riley Testut
2024-01-08 14:27:01 -06:00
committed by Magesh K
parent becc626027
commit 69a01a3262
2 changed files with 24 additions and 2 deletions

View File

@@ -89,9 +89,9 @@ final class UpdatePatronsOperation: ResultOperation<Void>
Logger.main.notice("Updated Friend Zone Patrons! Refresh ID: \(response.refreshID, privacy: .public)")
}
catch
catch let error as NSError
{
Logger.main.error("Failed to update Friend Zone Patrons. \(error.localizedDescription, privacy: .public)")
Logger.main.error("Failed to update Friend Zone Patrons. \(error.localizedDebugDescription ?? error.localizedDescription, privacy: .public)")
self.finish(.failure(error))
}
}