STDERR output from arduino-cli is not shown #1527
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
The STDERR output from arduino-cli is not shown in the Output panel during compilation, even when the "Verbose" setting is enabled in the IDE preferences.
This has the effect of suppressing useful troubleshooting information. For instance:
When suppressing STDERR from the same command, it becomes pretty useless:
This is how it is displayed in the IDE, leaving user with no clue about the compilation error (it ends with "Compilation error: Error: 2 UNKNOWN: exit status 1").
I don't know if including STDERR in the output panel in the IDE is the proper solution. For sure it's a workaround. Maybe the correct solution is to have arduino-cli print that kind of output to STDOUT instead? Proper STDOUT/STDERR semantics should be designed.
Version
2.0.0 beta4
The text was updated successfully, but these errors were encountered: