Tips on debugging and handling errors? #99
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ryven executes the Of course, you can implement your own more optimized error handling inside your |
Beta Was this translation helpful? Give feedback.
Ryven executes the
update_event
internally inside atry
block already. On error, the traceback is printed if you enabled info messages (currentlyOptions -> Info Messages -> Enable
in Ryven, and it will print to the builtin console hidden at the very bottom of the window). You will soon also be able to direct all output to your terminal instead.Of course, you can implement your own more optimized error handling inside your
update_event
. I recently also added an indicator for errors to the framework (suggestion from #94, commit: leon-thomm/ryvencore-qt@48bab81) which will be included in the next version soon.