mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
ProcessManager: remove PBot:: prefix from timed-out message
This commit is contained in:
parent
891a586409
commit
64ea719042
@ -180,7 +180,7 @@ sub execute_process {
|
||||
|
||||
# execute the provided subroutine, results are stored in $stuff
|
||||
eval {
|
||||
local $SIG{ALRM} = sub { die "PBot::Process `$stuff->{commands}->[0]` timed-out" };
|
||||
local $SIG{ALRM} = sub { die "Process `$stuff->{commands}->[0]` timed-out" };
|
||||
alarm $timeout;
|
||||
$subref->($stuff);
|
||||
die if $@;
|
||||
|
Loading…
Reference in New Issue
Block a user