Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-morin committed Feb 9, 2024
1 parent 17cee96 commit 6029098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/controllers/v1/computervision_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const ComputervisionController = class ComputervisionController {
}
json = await response.json( );
} catch ( error ) {
throw util.httpError( 500, "Error scoring image" );
throw util.httpError( 500, error );
} finally {
clearTimeout( requestTimeout );
}
Expand Down

0 comments on commit 6029098

Please sign in to comment.