node-red-contrib-hik-media-buffer 1.1.88 → 1.1.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hik-media-buffer.js +5 -0
- package/package.json +1 -1
package/hik-media-buffer.js
CHANGED
|
@@ -155,7 +155,12 @@ module.exports = function(RED) {
|
|
|
155
155
|
});
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
+
// >>> AGGIUNGI QUESTE RIGHE DI LOG QUI PER VEDERE COSA COZZO RISPONDE <<<
|
|
159
|
+
node.warn(`[DEBUG NVR RESP] Risposta grezza per traccia ${t.id}:`);
|
|
160
|
+
node.warn(xmlResponse);
|
|
161
|
+
|
|
158
162
|
if (!xmlResponse || xmlResponse.includes("400 Bad Request") || xmlResponse.includes("401 Unauthorized")) {
|
|
163
|
+
node.error(`[DEBUG NVR ERRORE] Risposta KO da curl su traccia ${t.id}`);
|
|
159
164
|
continue;
|
|
160
165
|
}
|
|
161
166
|
|