Skip to content

Nested each swallows errors #10176

Closed

Description

@manveru

Describe the bug

Errors like executable was not found or any other content do not get propagated when you nest two each blocks.

How to reproduce

  1. run [[1,2]] | each {|x| $x | each {|y| error make {msg: "oh noes"} } }

Expected behavior

This should raise the error.

Screenshots

20230831_21h46m24s_grim

Configuration

key value
version 0.84.0
branch
commit_hash
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.71.1 (eb26296b5 2023-08-03) (built from a source tarball)
cargo_version cargo 1.71.1
build_time 1980-01-01 00:00:00 +00:00
build_rust_channel release
allocator standard
features default, sqlite, trash, which, zip
installed_plugins

Additional context

No response

Activity

  1. added
    status:needs-triage
    on Aug 31, 2023
  2. added
    category:bug
    semantics
    A:error-handling
    and removed
    status:needs-triage
    on Aug 31, 2023
  3. added a commit that references this issue on May 1, 2024
    b22d131
  4. added this to the v0.94.0 milestone on May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:error-handlingcategory:bugsemantics

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions