Skip to content
Closed

5.8 #17

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "illuminated/console-mutex",
"name": "vafir/console-mutex",
"description": "Mutex for Laravel console commands.",
"keywords": ["laravel", "console", "command", "mutex", "overlapping", "locker"],
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/WithoutOverlapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected function initializeMutex()
{
$mutex = new Mutex($this);
if (!$mutex->acquireLock($this->getMutexTimeout())) {
throw new RuntimeException('Command is running now!');
throw new RuntimeException('Command is running now!' . __CLASS__);
}

register_shutdown_function([$this, 'releaseMutexLock'], $mutex);
Expand Down