[BACKEND] Debug log exception on retry
This commit is contained in:
parent
c622cf68b5
commit
7c40c2f590
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ def retry(times: int, exceptions: Tuple[Type[Exception], ...], wait_sec: int = 5
|
|||
try:
|
||||
return func(*args, **kwargs)
|
||||
except exceptions:
|
||||
logger.debug(
|
||||
logger.exception(
|
||||
"Exception thrown when attempting to run %s, attempt %d of %d",
|
||||
func.__name__,
|
||||
attempt + 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue