Skip to content

Commit

Permalink
Improve wording of error message (#918)
Browse files Browse the repository at this point in the history
See discussion outcome in #914 (comment)
  • Loading branch information
mfn committed Oct 30, 2020
1 parent 195430d commit 5495ee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Console/ContinueSupervisorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function handle(SupervisorRepository $supervisors)
$this->info("Sending CONT Signal To Process: {$processId}");

if (! posix_kill($processId, SIGCONT)) {
$this->error("Failed to kill process: {$processId} (".posix_strerror(posix_get_last_error()).')');
$this->error("Failed to send CONT signal to process: {$processId} (".posix_strerror(posix_get_last_error()).')');
}
}
}
2 changes: 1 addition & 1 deletion src/Console/PauseSupervisorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function handle(SupervisorRepository $supervisors)
$this->info("Sending USR2 Signal To Process: {$processId}");

if (! posix_kill($processId, SIGUSR2)) {
$this->error("Failed to kill process: {$processId} (".posix_strerror(posix_get_last_error()).')');
$this->error("Failed to send USR2 signal to process: {$processId} (".posix_strerror(posix_get_last_error()).')');
}
}
}

0 comments on commit 5495ee8

Please sign in to comment.