Commit 30468bc7 authored by Javier Diaz's avatar Javier Diaz
Browse files

Debugging

parent 39736673
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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