I’m trying to build an application using the QML Julia package. I have a QML window open with a while loop in the background that is updating a display. I call this function using Threads.@spawn, because otherwise I cannot update the display (JuliaDisplay) in QML interactively. I’m also starting QML using the async_exec() function. However, now I have the problem that if something in my background loop goes wrong, I get no error. The QML interface is still responsive, but the background loop dies, without me being able to see where the error occurred. How can I find out what went wrong in the background loop?