Hawkar Mahmod
09/28/2022, 2:23 PM.fn
that contains a call to get_run_logger
. I get a RuntimeError: There is no active flow or task run context
exceptionZanie
def safe_get_run_logger():
try:
return get_run_logger()
except RuntimeError:
return logging.getLogger("my_logger")