MCPcopy Index your code
hub / github.com/dataease/SQLBot / exception

Method exception

backend/common/utils/utils.py:213–216  ·  view source on GitHub ↗
(msg: str, *args, **kwargs)

Source from the content-addressed store, hash-verified

211
212 @staticmethod
213 def exception(msg: str, *args, **kwargs):
214 logger = SQLBotLogUtil._get_logger()
215 if logger.isEnabledFor(logging.ERROR):
216 logger._log(logging.ERROR, msg, args, exc_info=True, **kwargs)
217
218 @staticmethod
219 def critical(msg: str, *args, **kwargs):

Callers 5

execute_sql_with_dbFunction · 0.80
validateAskTokenMethod · 0.80
validateTokenMethod · 0.80
validateAssistantMethod · 0.80
validateEmbeddedMethod · 0.80

Calls 2

_get_loggerMethod · 0.80
_logMethod · 0.80

Tested by

no test coverage detected