error message on failing copy action is unclear #11506
Labels
cli
Command line related
open-to-contribution
External contributors are welcomed to do a PR to solve the issue
To be fair this issue is visible because the rule wasn't written properly. There was no need for a
with-stdout-to
. But I suppose it can happen in other condition and the lack of details in the error message is really confusing.Expected Behavior
dune should report exactly which action/command is creating an error.
Actual Behavior
The error message makes it hard to pinpoint exactly what rule and part of a rule is creating an error.
Here it's not clear if it's
with-stdout-to
orcopy
which fails (I'm guessing on copy but 🤷)Reproduction
https://github.com/Khady/dune-demo/tree/master/dune-empty-stdout-error
Specifications
dune
(output ofdune --version
): 3.17ocaml
(output ofocamlc --version
): 5.2The text was updated successfully, but these errors were encountered: