mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Better logs
This commit is contained in:
parent
ae26bf3369
commit
ca157c7567
@ -181,9 +181,9 @@ object MXEncryptedAttachments {
|
|||||||
return ByteArrayInputStream(outputStream.toByteArray())
|
return ByteArrayInputStream(outputStream.toByteArray())
|
||||||
.also { Timber.v("Decrypt in ${System.currentTimeMillis() - t0}ms") }
|
.also { Timber.v("Decrypt in ${System.currentTimeMillis() - t0}ms") }
|
||||||
} catch (oom: OutOfMemoryError) {
|
} catch (oom: OutOfMemoryError) {
|
||||||
Timber.e(oom, "## decryptAttachment() : failed ${oom.message}")
|
Timber.e(oom, "## decryptAttachment() failed: OOM")
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Timber.e(e, "## decryptAttachment() : failed ${e.message}")
|
Timber.e(e, "## decryptAttachment() failed")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user