fix(db): Give dirty read exception a message

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/43285/head
Christoph Wurst 4 months ago committed by Christoph Wurst
parent 299e5fd602
commit cf17a20835

@ -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…
Cancel
Save