Add a tabulation character to loggin in the Element.display() method
This commit is contained in:
parent
b0e9747fcf
commit
b2abce966a
|
@ -21,7 +21,7 @@ abstract class Element(
|
||||||
render(stack)
|
render(stack)
|
||||||
} catch (t: Throwable) {
|
} catch (t: Throwable) {
|
||||||
with(Snowy.logs) {
|
with(Snowy.logs) {
|
||||||
error("An element from snowy threw an error: \n$t")
|
error("An element from snowy threw an error: \n\t$t")
|
||||||
warn("Rendering of snowy UI elements will now be disabled to avoid further errors.")
|
warn("Rendering of snowy UI elements will now be disabled to avoid further errors.")
|
||||||
caughtError = true
|
caughtError = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue