3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +01:00

ProcessManager: remove PBot:: prefix from timed-out message

This commit is contained in:
Pragmatic Software 2020-02-16 16:49:10 -08:00
parent 891a586409
commit 64ea719042

View File

@ -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 $@;