From 4ff2b1fb95f8e678bbebea6f2b69bc9bdc9d8168 Mon Sep 17 00:00:00 2001 From: Connor Kirkpatrick Date: Wed, 5 Nov 2025 12:21:12 +0000 Subject: [PATCH] docs(batch): fix error handling code highlight line number 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. --- docs/utilities/batch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/utilities/batch.md b/docs/utilities/batch.md index 2615dc0103f..d20c3cdb0a6 100644 --- a/docs/utilities/batch.md +++ b/docs/utilities/batch.md @@ -243,7 +243,7 @@ By default, we catch any exception raised by your record handler function. This === "Sample error handling with custom exception" - ```python title="" hl_lines="24" + ```python title="" hl_lines="23" --8<-- "examples/batch_processing/src/getting_started_error_handling.py" ```