mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-21 23:54:26 +00:00
Make cancellations a debug message instead of info
This commit is contained in:
parent
8812e41a74
commit
c1b84d14f4
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ fun avatarUrlFromUserId(userId: String): String? {
|
|||
try {
|
||||
url = session.profileService().getAvatarUrl(userId).getOrNull()
|
||||
} catch (e: CancellationException) {
|
||||
Log.i(TAG, "Cancelled retrieval of avatar URL of: $userId", e)
|
||||
Log.d(TAG, "Cancelled retrieval of avatar URL of: $userId", e)
|
||||
url = null
|
||||
return@Fetch
|
||||
} catch (e: Throwable) {
|
||||
|
|
|
@ -58,7 +58,7 @@ fun bitmapFromMatrixFile(url: String? = null): Bitmap? {
|
|||
)
|
||||
} catch (e: CancellationException) {
|
||||
// This makes sure no corrupt image is displayed, at least
|
||||
Log.i(TAG, "Cancelled download of file at: $url", e)
|
||||
Log.d(TAG, "Cancelled download of file at: $url", e)
|
||||
bitmap = null
|
||||
return@Fetch
|
||||
} catch (e: Throwable) {
|
||||
|
|
Loading…
Reference in a new issue