[IMP] core: capture Warnings though logging
This commit is contained in:
@@ -115,6 +115,7 @@ def init_logger():
|
||||
_logger_init = True
|
||||
|
||||
logging.addLevelName(25, "INFO")
|
||||
logging.captureWarnings(True)
|
||||
|
||||
from tools.translate import resetlocale
|
||||
resetlocale()
|
||||
|
||||
Reference in New Issue
Block a user