mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-10 20:12:35 +01:00
Plugin/Plang: do not use output_value() on exceptions
This commit is contained in:
parent
4e0dece5b7
commit
553fdb884c
@ -114,7 +114,6 @@ sub cmd_plang {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (my $exception = $@) {
|
if (my $exception = $@) {
|
||||||
$exception = $self->{plang}->{interpreter}->output_value($exception);
|
|
||||||
$self->{output} .= $exception;
|
$self->{output} .= $exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user