We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db70d2 commit 7b1ab26Copy full SHA for 7b1ab26
1 file changed
synapse/handlers/worker_lock.py
@@ -259,7 +259,9 @@ async def __aenter__(self) -> None:
259
except Exception as e:
260
logger.warning(
261
"Caught an exception while waiting on WaitingLock(lock_name=%s, lock_key=%s): %r",
262
- self.lock_name, self.lock_key, e
+ self.lock_name,
263
+ self.lock_key,
264
+ e,
265
)
266
267
return await self._inner_lock.__aenter__()
@@ -351,7 +353,8 @@ async def __aenter__(self) -> None:
351
353
352
354
355
"Caught an exception while waiting on WaitingMultiLock(lock_names=%r): %r",
- self.lock_names, e
356
+ self.lock_names,
357
358
359
360
assert self._inner_lock_cm
0 commit comments