Skip to content

Conversation

@Gohlub
Copy link
Contributor

@Gohlub Gohlub commented Nov 9, 2025

…ion, target) to hydrate error propagation

Solves #1061.

I exercised my own judgement in deciding which operations would benefit from extra context. I noticed some to be internal calls whose escalation would not be useful to the API consumer. In any case, let me know if I should add/remove/update any of the context fields.

)
.to_result_with_py_trace(py)?;
.to_result_with_py_trace(py)
.with_context(|| format!("while calling user-configured function"))?;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also attach the function name?

The same for error messages below.

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.

2 participants