mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-02-25 03:27:08 +00:00
Add debug logging for missing competitor lookup
Co-authored-by: fabrice404 <12575390+fabrice404@users.noreply.github.com>
This commit is contained in:
@@ -152,6 +152,7 @@ export class ICSGenerator {
|
||||
}
|
||||
const competitor = this.calendar.competitors.find(comp => comp.code === competitorId);
|
||||
if (!competitor) {
|
||||
this.debug(`Competitor not found: ${competitorId}`);
|
||||
return {
|
||||
noc: "",
|
||||
name: competitorId,
|
||||
|
||||
Reference in New Issue
Block a user