better debug for null in route response

This commit is contained in:
Matthias Wirth
2025-06-19 08:34:13 +00:00
parent 9266ab46a1
commit 12fbb2503b

View File

@@ -2926,6 +2926,7 @@ function routeDoLookup(currentTime) {
for (var route of routes) {
if (!route) {
console.error(`Route API returned this invalid element in the array ${route}`);
console.log(routes);
continue;
}
// let's log just a little bit of what's happening