Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Futher improve messages related to error propagation on plugin calls #12646

Conversation

devyn
Copy link
Contributor

@devyn devyn commented Apr 24, 2024

Description

Trying to give as much context as possible. Now there should be a spanned error with the call span if possible, and the propagated error as an inner error if there was one in every case.

Tests + Formatting

  • 馃煝 toolkit fmt
  • 馃煝 toolkit clippy
  • 馃煝 toolkit test
  • 馃煝 toolkit test stdlib

Trying to give as much context as possible. Now there should be a
spanned error with the call span if possible, and the propagated error
as an inner error if there was one in every case.
@fdncred fdncred merged commit 0f645b3 into nushell:main Apr 24, 2024
15 checks passed
@fdncred
Copy link
Collaborator

fdncred commented Apr 24, 2024

better error/span handling is good. thanks.

@fdncred fdncred added the pr:plugins This PR is related to plugins label Apr 24, 2024
@hustcer hustcer added this to the v0.93.0 milestone Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:plugins This PR is related to plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants