mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-19 16:32:24 +01:00
Fix broken ref to IntegrityError
This commit is contained in:
parent
7ab2b69e18
commit
77a1227870
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ class SQLBaseStore(object):
|
||||||
lock=lock
|
lock=lock
|
||||||
)
|
)
|
||||||
defer.returnValue(result)
|
defer.returnValue(result)
|
||||||
except self.database_engine.IntegrityError as e:
|
except self.database_engine.module.IntegrityError as e:
|
||||||
# presumably we raced with another transaction: let's retry.
|
# presumably we raced with another transaction: let's retry.
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"IntegrityError when upserting into %s; retrying: %s",
|
"IntegrityError when upserting into %s; retrying: %s",
|
||||||
|
|
Loading…
Reference in a new issue