edvin / tornadofx2

TornadoFX 2.0
Apache License 2.0
154 stars 40 forks source link

DefaultErrorHandler Stack not printed in Dialog #50

Open the-working-rene opened 2 years ago

the-working-rene commented 2 years ago

I'm using the DefaultErrorHandler Class to automatically show the content of otherwise uncatched exceptions.

But the text area is always empty, due to the commented out line //e.printStackTrace(writer) in the ErrorHandler.kt File.

The fix would be quite easy - just add back that line. That fixed it for me. But I was wondering about the reason, that line is commented out. Does it break anything?

Anivie commented 2 years ago

I canceled this comment,and it seems work normally