From 30468bc7ffe5a64d0edc397120089e4df4fb3907 Mon Sep 17 00:00:00 2001 From: diazjj <jjdiaz@cttc.es> Date: Fri, 26 Jul 2024 14:41:08 +0200 Subject: [PATCH] Debugging --- src/dlt/gateway/dltApp/src/dltGateway.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dlt/gateway/dltApp/src/dltGateway.js b/src/dlt/gateway/dltApp/src/dltGateway.js index f39a6cb32..0dcfb7508 100644 --- a/src/dlt/gateway/dltApp/src/dltGateway.js +++ b/src/dlt/gateway/dltApp/src/dltGateway.js @@ -104,6 +104,7 @@ async function getFromDlt(call, callback) { } catch (error) { if (error.message.includes("data not found for key")) { // Return an empty response when no record is found + console.log("REQUEST ERROR:", error); callback(null, { record_id: call.request, data_json: "" }); } else { // Send failure response with error message -- GitLab