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

ProcessManager: strip "propagated"

This commit is contained in:
Pragmatic Software 2020-09-26 16:01:52 -07:00
parent dc8cce5017
commit cdb11ccf4c

View File

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