mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 21:48:50 +03:00
Better logs
This commit is contained in:
parent
ae26bf3369
commit
ca157c7567
1 changed files with 2 additions and 2 deletions
|
@ -181,9 +181,9 @@ object MXEncryptedAttachments {
|
|||
return ByteArrayInputStream(outputStream.toByteArray())
|
||||
.also { Timber.v("Decrypt in ${System.currentTimeMillis() - t0}ms") }
|
||||
} catch (oom: OutOfMemoryError) {
|
||||
Timber.e(oom, "## decryptAttachment() : failed ${oom.message}")
|
||||
Timber.e(oom, "## decryptAttachment() failed: OOM")
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e, "## decryptAttachment() : failed ${e.message}")
|
||||
Timber.e(e, "## decryptAttachment() failed")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue