diff --git a/vroom.pl b/vroom.pl index 04422a7..4902476 100755 --- a/vroom.pl +++ b/vroom.pl @@ -1526,8 +1526,10 @@ any '/api' => sub { return $self->render( json => { msg => $self->l('ERROR_OCCURRED'), + err => 'ERROR_OCCURRED', status => 'error' - } + }, + status => 503 ); } # Set/unset askForName