forked from MirrorHub/synapse
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
|
||||
)
|
||||
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.
|
||||
logger.warn(
|
||||
"IntegrityError when upserting into %s; retrying: %s",
|
||||
|
|
Loading…
Reference in a new issue