mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 10:55:09 +02:00
add better message for orchs without a target uri
This commit is contained in:
parent
c70ec8d252
commit
cb96d3f408
@ -242,7 +242,7 @@ const pingNextOrch = async function () {
|
|||||||
if (!currentPool.length) { refreshPool(); }
|
if (!currentPool.length) { refreshPool(); }
|
||||||
let currentOrch = currentPool.splice(0, 1)[0];
|
let currentOrch = currentPool.splice(0, 1)[0];
|
||||||
if (!currentOrch.id || !currentOrch.target) {
|
if (!currentOrch.id || !currentOrch.target) {
|
||||||
console.log("err: \n", currentOrch);
|
console.log("Skipping Orchestrator with malformed data: ", currentOrch);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await testOrchestrator(currentOrch.id, currentOrch.target);
|
await testOrchestrator(currentOrch.id, currentOrch.target);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user