Log actual HTML render exception
Change-Id: I98d4274e92812df3e1143f7e8ea63b56fcbbc091
This commit is contained in:
parent
e448cce8d9
commit
030e1f853f
|
@ -381,7 +381,7 @@ class EventHtmlRenderer @Inject constructor(
|
|||
val parsed = markwon.parse(text)
|
||||
renderAndProcess(parsed, postProcessors)
|
||||
} catch (failure: Throwable) {
|
||||
Timber.v("Fail to render $text to html")
|
||||
Timber.v(failure, "Fail to render $text to html")
|
||||
text
|
||||
}
|
||||
}
|
||||
|
@ -394,7 +394,7 @@ class EventHtmlRenderer @Inject constructor(
|
|||
return try {
|
||||
renderAndProcess(node, postProcessors)
|
||||
} catch (failure: Throwable) {
|
||||
Timber.v("Fail to render $node to html")
|
||||
Timber.v(failure, "Fail to render $node to html")
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue