mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-28 08:49:01 +03:00
Log actual HTML render exception
Change-Id: I98d4274e92812df3e1143f7e8ea63b56fcbbc091
This commit is contained in:
parent
e448cce8d9
commit
030e1f853f
1 changed files with 2 additions and 2 deletions
|
@ -381,7 +381,7 @@ class EventHtmlRenderer @Inject constructor(
|
||||||
val parsed = markwon.parse(text)
|
val parsed = markwon.parse(text)
|
||||||
renderAndProcess(parsed, postProcessors)
|
renderAndProcess(parsed, postProcessors)
|
||||||
} catch (failure: Throwable) {
|
} catch (failure: Throwable) {
|
||||||
Timber.v("Fail to render $text to html")
|
Timber.v(failure, "Fail to render $text to html")
|
||||||
text
|
text
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -394,7 +394,7 @@ class EventHtmlRenderer @Inject constructor(
|
||||||
return try {
|
return try {
|
||||||
renderAndProcess(node, postProcessors)
|
renderAndProcess(node, postProcessors)
|
||||||
} catch (failure: Throwable) {
|
} catch (failure: Throwable) {
|
||||||
Timber.v("Fail to render $node to html")
|
Timber.v(failure, "Fail to render $node to html")
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue