mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(db): Give dirty read exception a message
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
299e5fd602
commit
cf17a20835
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ class Connection extends PrimaryReadReplicaConnection {
|
|||
[
|
||||
'tables' => $this->tableDirtyWrites,
|
||||
'reads' => $tables,
|
||||
'exception' => new \Exception(),
|
||||
'exception' => new \Exception('dirty table reads: ' . $sql),
|
||||
],
|
||||
);
|
||||
// To prevent a dirty read on a replica that is slightly out of sync, we
|
||||
|
|
|
|||
Loading…
Reference in a new issue