Skip to content

Commit fbf81b7

Browse files
committed
Add debug log for CI
1 parent 8705d1f commit fbf81b7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/Store/DoctrineDbalStore.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,16 @@ private function lock(): void
513513
}
514514

515515
if ($result !== 1) {
516+
$foo = sprintf(
517+
'LOCK DEBUG: platform=%s lockTimeout=%s result=%s(%s)',
518+
$platform::class,
519+
var_export($lockTimeout, true),
520+
get_debug_type($result),
521+
var_export($result, true),
522+
);
523+
error_log($foo);
524+
var_dump($foo);
525+
516526
throw LockCouldNotBeAcquired::byError($this->config['lock_id']);
517527
}
518528

0 commit comments

Comments
 (0)