Commit 8a27404
Bcornish
feat(slots): add observability to guest-busy-times degradation path
The catch arm in _getGuestBusyTimesForReschedule silently returned [] on
any failure to keep rescheduling unblocked. That is the right runtime
behaviour, but a silent swallow makes upstream regressions (e.g. a Prisma
schema drift in BookingRepository.findByUidIncludeAttendeeEmails) look
like 'no Cal.com guests found' rather than a real fault.
Emit a structured warn through the existing slots/util logger so operators
can detect this without paging on a non-blocking code path. Uses
safeStringify (already imported and used elsewhere in this file) so the
error never breaks the log line.1 parent 5dc781f commit 8a27404
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
890 | | - | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
891 | 897 | | |
892 | 898 | | |
893 | 899 | | |
| |||
0 commit comments