mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Helpful error messages are helpful
This commit is contained in:
parent
27eadd38ea
commit
713c519576
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class Sidekiqctl
|
|||
@timeout = timeout
|
||||
|
||||
done 'No pidfile given' if !pidfile
|
||||
done 'Pidfile does not exist' if !File.exist?(pidfile)
|
||||
done "Pidfile #{pidfile} does not exist" if !File.exist?(pidfile)
|
||||
done 'Invalid pidfile content' if pid == 0
|
||||
|
||||
fetch_process
|
||||
|
|
Loading…
Reference in a new issue