Skip to content

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

Merged
fdncred merged 1 commit into
nushell:mainfrom
devyn:more-fixes-to-error-messages-on-propagation-in-plugin-call
Apr 24, 2024
Merged

fdncred merged 1 commit into
nushell:mainfrom
devyn:more-fixes-to-error-messages-on-propagation-in-plugin-call

Conversation

@devyn

@devyn devyn commented Apr 24, 2024

Copy link
Copy Markdown
Contributor

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
@fdncred

fdncred commented Apr 24, 2024

Copy link
Copy Markdown
Contributor

better error/span handling is good. thanks.

@fdncred fdncred added the deprecated:pr-plugins Deprecated: use the A:plugins label instead 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

deprecated:pr-plugins Deprecated: use the A:plugins label instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants