mirror of
https://github.com/element-hq/synapse.git
synced 2026-09-26 09:28:55 +00:00
Fix broken ref to IntegrityError
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user