-
Notifications
You must be signed in to change notification settings - Fork 24
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
Enhance error messsages of ProcessBuilder #608
Labels
Milestone
Comments
What is the status here? |
IMHO #593 problem went away since output is not captured anymore. |
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Sep 25, 2024
added test for enhanced error messages
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Sep 25, 2024
added outs to error message added check for DEFAULT_CAPTURE to start performLogOnError
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Sep 25, 2024
reformatted process out and error messages added test with expected Exception and error messages added test resources
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Sep 25, 2024
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 4, 2024
refactored eclipse log method into ProcessResult added log method to ProcessResult optimized performLogOnError to use logger with proper log levels instead of custom messages
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 4, 2024
made sure that context runs on windows to detect dotnet.cmd properly
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 4, 2024
moved dotnet.cmd to windows folder
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 7, 2024
moved windows test to parameterized tests
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 7, 2024
added missing javadocs fixed dotnet windows test script
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 7, 2024
renamed dotnet.cmd to dotnet.exe
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 8, 2024
fixed DotNet test added run test to NpmTest removed unused test resource files renamed readme files to .gitkeep
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 15, 2024
made dotnet.exe executable
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 15, 2024
adjusted DotnetTest adjusted NpmTest
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 17, 2024
disabled dotnet run tests on CI disabled npm run test
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 21, 2024
removed SubLogger moved throw of exceptions after logger optimized out and err creation removed level checks for logger
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 21, 2024
re-added logging of exitcode on proper log level
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 24, 2024
removed duplicated log messages removed ProcessResult.run hack fixed and cleaned up tests renamed ProcessConttextUnderTest added new log method with 2 log levels to ProcessResult
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 24, 2024
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 28, 2024
enforced log output of test scripts even if processMode was BACKGROUND
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 30, 2024
removed hacks
jan-vcapgemini
added a commit
to jan-vcapgemini/IDEasy
that referenced
this issue
Oct 30, 2024
hohwille
pushed a commit
that referenced
this issue
Oct 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
As an IDEasy user, I want to see what exactly failed when an application was not run successfully.
Currently IDEasy only shows the exit code of a failed process and omits the error messages in the log.
See:
IDEasy/cli/src/main/java/com/devonfw/tools/ide/process/ProcessContextImpl.java
Lines 284 to 287 in e73c7ae
We could easily add
result.getErr()
here too.UPDATE (JH): This should depend on
ProcessMode
so e.g. forDEFAULT
all output was already redirected to the shell. However, forDEFAULT_CAPTURE
we should output what has been captured (IMHO both stdout and stderr).Somehow this is a duplicate or at least strongly overlaps with #593.
The text was updated successfully, but these errors were encountered: