Skip to content

Tips on debugging and handling errors? #99

Answered by leon-thomm
isConic asked this question in Q&A
Discussion options

You must be logged in to vote

Ryven executes the update_event internally inside a try block already. On error, the traceback is printed if you enabled info messages (currently Options -> 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@isConic
Comment options

Answer selected by isConic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants