3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 13:59:47 +01:00

ProcessManager: remove "... propagated"

This commit is contained in:
Pragmatic Software 2020-08-22 13:06:29 -07:00
parent 19b3a50cc3
commit ab31c7fe33

View File

@ -203,6 +203,7 @@ sub execute_process {
$context->{'timed-out'} = 1 if $context->{result} =~ /^Process .* timed-out at PBot\/ProcessManager/; $context->{'timed-out'} = 1 if $context->{result} =~ /^Process .* timed-out at PBot\/ProcessManager/;
$self->{pbot}->{logger}->log("Error executing process: $context->{result}\n"); $self->{pbot}->{logger}->log("Error executing process: $context->{result}\n");
$context->{result} =~ s/ at PBot.*$//ms; $context->{result} =~ s/ at PBot.*$//ms;
$context->{result} =~ s/\s+...propagated$//ms;
} }
# print $context to pipe # print $context to pipe