docs(subsUnion): note why legacy telegram subs are skipped, not errors
All checks were successful
build-image / build (push) Successful in 11m55s

This commit is contained in:
vjrj 2026-07-30 06:58:09 +02:00
parent 3ac580f246
commit 3d52e2f709

View file

@ -29,6 +29,8 @@ const calcUnionAsync = async (subs, decorated) => {
{ units: 'kilometers', steps: 144 }
));
} else {
// Expected for old telegram subscriptions predating the distance field
// (e.g. distance: null) — logged, not an error, safe to skip.
console.info(`Wrong element to do union ${JSON.stringify(osub)}`);
}
} catch (e) {