Add a tabulation character to loggin in the Element.display() method

This commit is contained in:
Username404-59 2021-04-22 20:52:54 +02:00
parent b0e9747fcf
commit b2abce966a
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }