Skip to content

Commit

Permalink
fix: correctly return error
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Jan 23, 2024
1 parent 9d0d5aa commit cda3f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/rvd_front
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@ post '/request/(:name)/' => sub {

if ($wait) {
$RAVADA->wait_request($req, 60);
$error => $req->error if !$error;
$error = $req->error if !$error;
$output = $req->output if $req->output;
}
$RAVADA->_cache_clean();
Expand Down

0 comments on commit cda3f4b

Please sign in to comment.