Skip to content

Commit ee7f9ce

Browse files
authored
docs(batch): fix error handling code highlight line number (#7638)
Fixed the highlighted line in the batch processing error handling example from line 24 (empty line) to line 23 (the actual raise statement). This ensures the documentation correctly highlights where the InvalidPayload exception is raised in the error handling example.
1 parent 9590aac commit ee7f9ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/utilities/batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ By default, we catch any exception raised by your record handler function. This
243243

244244
=== "Sample error handling with custom exception"
245245

246-
```python title="" hl_lines="24"
246+
```python title="" hl_lines="23"
247247
--8<-- "examples/batch_processing/src/getting_started_error_handling.py"
248248
```
249249

0 commit comments

Comments
 (0)