Skip to content

Docs: Fix incorrect line highlight in batch error handling example #7637

@ConnorKirk

Description

@ConnorKirk

What were you searching in the docs?

Batch processing error handling documentation

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/python/latest/utilities/batch/#error-handling

How can we improve?

The code highlighting points to line 24 (empty line) instead of line 23 where the raise InvalidPayload exception actually occurs.

Image

Got a suggestion in mind?

Change hl_lines="24" to hl_lines="23" in docs/utilities/batch.md

  • I understand the final update might be different from my proposed suggestion, or refused.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

Projects

Status

Coming soon

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions