Skip to content

[XLA] Enhance XlaBuilder::ReportError to include Python source location.#42579

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_915106161
Open

[XLA] Enhance XlaBuilder::ReportError to include Python source location.#42579
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_915106161

Conversation

@copybara-service
Copy link
Copy Markdown

[XLA] Enhance XlaBuilder::ReportError to include Python source location.

When an error is reported via XlaBuilder::ReportError, append the Python source file and line number from the current OpMetadata (either persistent or one-shot) to the error message. This provides more context for debugging errors originating from Python code.

…tion.

When an error is reported via `XlaBuilder::ReportError`, append the Python source file and line number from the current `OpMetadata` (either persistent or one-shot) to the error message. This provides more context for debugging errors originating from Python code.

PiperOrigin-RevId: 915106161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant