mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add some logs to allow debugging of voice messages in rageshake (#1967)
This commit is contained in:
@@ -35,7 +35,7 @@ class VoiceMessageCache: VoiceMessageCacheProtocol {
|
||||
do {
|
||||
try cacheFile(source: fileURL, destination: url, move: move)
|
||||
} catch {
|
||||
MXLog.error("Failed storing file in cache", context: error)
|
||||
MXLog.error("Failed storing file in cache. \(error)")
|
||||
return .failure(.failedStoringFileInCache)
|
||||
}
|
||||
return .success(url)
|
||||
@@ -46,7 +46,7 @@ class VoiceMessageCache: VoiceMessageCacheProtocol {
|
||||
do {
|
||||
try FileManager.default.removeItem(at: temporaryFilesFolderURL)
|
||||
} catch {
|
||||
MXLog.error("Failed clearing cached disk files", context: error)
|
||||
MXLog.error("Failed clearing cached disk files. \(error)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user