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

Method error

backend/common/utils/utils.py:201–210  ·  view source on GitHub ↗
(msg: str, *args, exc_info: Optional[bool] = None, **kwargs)

Source from the content-addressed store, hash-verified

199
200 @staticmethod
201 def error(msg: str, *args, exc_info: Optional[bool] = None, **kwargs):
202 logger = SQLBotLogUtil._get_logger()
203 if logger.isEnabledFor(logging.ERROR):
204 logger._log(
205 logging.ERROR,
206 msg,
207 args,
208 exc_info=exc_info if exc_info is not None else True,
209 **kwargs
210 )
211
212 @staticmethod
213 def exception(msg: str, *args, **kwargs):

Callers 15

LiFunction · 0.80
repeatErrFunction · 0.80
errorFunction · 0.80
wrapWithTryCatchFunction · 0.80
wrap_actions_authorizeFunction · 0.80
wrap_actions_logoutFunction · 0.80
nextFunction · 0.80
transformErrorsFunction · 0.80
get_yaml_sample_schemaFunction · 0.80
parseToJsonFunction · 0.80
resolveSpecFunction · 0.80

Calls 2

_get_loggerMethod · 0.80
_logMethod · 0.80

Tested by

no test coverage detected