|
|
@@ -40,6 +40,9 @@ export class ServerConnector {
|
|
|
// Start Transaction, receiving Data and a Transaction Handle
|
|
|
let response = await axios.get(`http://${server.fqdn}:8890/`, { responseType: 'json' });
|
|
|
trxHdl = response.data.hdl;
|
|
|
+
|
|
|
+ if (!trxHdl) return; // No data
|
|
|
+
|
|
|
const data: ReducedData[] = response.data.data.map(entry => ({ ...entry, time: new Date(entry.time) }));
|
|
|
|
|
|
// Process data in DB
|