Add guard in recorder retry function (#80585)
This commit is contained in:
parent
31a787558f
commit
d1facab71c
1 changed files with 1 additions and 0 deletions
|
@ -509,6 +509,7 @@ def retryable_database_job(
|
|||
assert instance.engine is not None
|
||||
if (
|
||||
instance.engine.dialect.name == SupportedDialect.MYSQL
|
||||
and err.orig
|
||||
and err.orig.args[0] in RETRYABLE_MYSQL_ERRORS
|
||||
):
|
||||
_LOGGER.info(
|
||||
|
|
Loading…
Add table
Reference in a new issue