Skip to content

How to prevent exceptions to be printed twice ? #330

Answered by gijzelaerr
vgalisson asked this question in Q&A
Discussion options

You must be logged in to vote

couldn't find a print, so my guess is then it is just the python logging. You could reconfigure the python logging module to set it to level CRITICAL, which would not print error messages.

so somewhere in your python code add something like:

import logging
logging.setLevel(logging.CRITICAL)

(untested)

Replies: 3 comments 2 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

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