Repository navigation
Handling errors instead of propagating them up and killing the REPL - #11953
Merged
Merged
Conversation
IanManske
reviewed
Feb 23, 2024
…ead of propogating."
IanManske
reviewed
Feb 24, 2024
IanManske
left a comment
Member
There was a problem hiding this comment.
Thanks, just two last things:
- Handle errors as warning in do_run_cmd. Adde - Readded missing conditional
Contributor
Author
|
@IanManske I addressed both! On another note, it looks like the windows runner is failing for an unrelated issue: |
Contributor
|
That stupid test needs to be commented out I guess because it fails so often. I restarted the failed ci jobs. |
Member
|
Thanks again @ayax79 ! |
kik4444
pushed a commit
to kik4444/nushell-fork
that referenced
this pull request
Feb 28, 2024
Handle all errors that happen within the REPL loop, display warning or error messages, and return defaults where necessary. This addresses @IanManske [Comment Item 1](nushell#11860 (comment)) in nushell#11860 --------- Co-authored-by: Jack Wright <[email protected]>
IanManske
added a commit
that referenced
this pull request
Feb 28, 2024
# Description Ignores some network tests that sometimes fail in CI. E.g., in [11953](#11953 (comment)) and [11654](#11654 (comment)).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handle all errors that happen within the REPL loop, display warning or error messages, and return defaults where necessary.
This addresses @IanManske Comment Item 1 in #11860