From 602909862f01399341c06da904502687d2681930 Mon Sep 17 00:00:00 2001 From: sylvain-morin Date: Fri, 9 Feb 2024 17:54:34 +0100 Subject: [PATCH] Debug --- lib/controllers/v1/computervision_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controllers/v1/computervision_controller.js b/lib/controllers/v1/computervision_controller.js index 7836a80f..0d1e5854 100644 --- a/lib/controllers/v1/computervision_controller.js +++ b/lib/controllers/v1/computervision_controller.js @@ -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 ); }