eric7/E5Gui/E5ErrorMessage.py

branch
eric7
changeset 8319
ea11a3948f40
parent 8318
962bce857696
equal deleted inserted replaced
8318:962bce857696 8319:ea11a3948f40
112 @type QMessageLogContext 112 @type QMessageLogContext
113 @param message message to be shown 113 @param message message to be shown
114 @type bytes 114 @type bytes
115 """ 115 """
116 if _msgHandlerDialog: 116 if _msgHandlerDialog:
117 if msgType < Preferences.getUI("MinimumMessageTypeSeverity"): 117 if msgType.value < Preferences.getUI("MinimumMessageTypeSeverity"):
118 # severity is lower than configured 118 # severity is lower than configured
119 # just ignore the message 119 # just ignore the message
120 return 120 return
121 121
122 with contextlib.suppress(RuntimeError): 122 with contextlib.suppress(RuntimeError):

eric ide

mercurial