diff --git a/pipeline/process/DatabaseBuilder.ts b/pipeline/process/DatabaseBuilder.ts index 318cd15..314b563 100644 --- a/pipeline/process/DatabaseBuilder.ts +++ b/pipeline/process/DatabaseBuilder.ts @@ -437,7 +437,11 @@ export class DatabaseBuilder { const duration = Math.ceil((endDate.getTime() - startDate.getTime()) / 1000); - if (startDate > endDate) throw new Error("Call start date is after end date"); + if (startDate > endDate) { + // TODO: check why this happens + console.error("Call start date is after end date"); + continue; + } if (duration < 1) continue; // skip call finalCalls.push({