mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 20:09:43 +01:00
ProcessManager: remove "... propagated"
This commit is contained in:
parent
19b3a50cc3
commit
ab31c7fe33
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user