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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost line number in Proc::Async's “no such file or directory” error #6607

Open
p6rt opened this issue Oct 14, 2017 · 1 comment
Open
Labels
LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously

Comments

@p6rt
Copy link

p6rt commented Oct 14, 2017

Migrated from rt.perl.org#132289 (status was 'new')

Searchable as RT132289$

@p6rt
Copy link
Author

p6rt commented Oct 14, 2017

From @AlexDaniel

Code​:
my $a = Proc​::Async.new(<doesnt exist>); $a.stdout.tap(-> $a {}); $a.stderr.tap(-> $a {}); if (await $a.start).exitcode { say "oops"} else { say "ok"}

¦«2015.12»​:
no such file or directory
  in block <unit> at /home/bisectable/git/whateverable/data/regressionable/15215457/snippet line 1
«exit code = 1»

¦«2016.06»​:
no such file or directory
  in block <unit> at /home/bisectable/git/whateverable/data/regressionable/15215457/snippet line 1
«exit code = 1»

¦«2016.12»​:
===SORRY!===
no such file or directory «exit code = 1»

¦«2017.06»​:
Unhandled exception in code scheduled on thread 3
no such file or directory
«exit code = 1»

¦«f72be0f130cf»​:
Unhandled exception in code scheduled on thread 4
no such file or directory
«exit code = 1»

Possible IRC discussion​: https://irclog.perlgeek.de/perl6/2017-09-26#i_15215457

If we can print �in block <unit> at � line 1� then we definitely should. And we probably can, judging by the output on 2015.12.

@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously
Projects
None yet
Development

No branches or pull requests

1 participant