Skip to content

Commit fbac802

Browse files
committed
TimeTable - improved a thrown error
1 parent d46dde6 commit fbac802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/components/timetable/TimeTableRows.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function renderGroupRows<G extends TimeTableGroup, I extends TimeSlotBooking>(
170170
changedGroupRowsRef,
171171
renderCells,
172172
)
173-
throw new Error("TimeTable - group entry not found")
173+
throw new Error(`TimeTable - group ${g} entry not found`)
174174
}
175175
const nextGroupId = groupEntriesArray[g + 1]?.id ?? null
176176
const previousGroupId = groupEntriesArray[g - 1]?.id ?? null

0 commit comments

Comments
 (0)