@@ -, +, @@ render Koha::Exceptions::Exception->throw("Nada!"); --- Koha/REST/Plugin/Exceptions.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/Koha/REST/Plugin/Exceptions.pm +++ a/Koha/REST/Plugin/Exceptions.pm @@ -64,7 +64,10 @@ sub register { $type = "(" . ref($exception) . ")"; } - my $message = "$method $path: unhandled exception $type\<\<$exception\>\>"; + my $exception_string = "$exception"; + chomp($exception_string); + + my $message = "$method $path: unhandled exception $type\<\<$exception_string\>\>"; $c->app->log->error("$message"); --