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
Exception Message should be shown rather than "One or more errors occurred." #1815
Comments
The phrase |
Ah probably I can take a look at sorting that. |
I've just been getting this, and wasn't sure what the exception actually was. So I temporarily handled it in a try catch block to dump out the output. Obviously only a temporary solution until this issue is fixed, but I thought it worth pasting the code here in case anyone else saw this ticket and didn't know what their exception was either ...
Hopefully this'll be resolved soon, as that's obviously bloat in my Cake file! :) |
@dracan running cake with diagnostic verbosity will give the full stack trace too. |
@devlead Ah, cool - I had tried verbose, but not diagnostic. |
GH1815: Log inner exceptions message
What You Are Seeing?
Exception messages are not displayed. Instead "One or more errors occurred." is shown as the error message.
What is Expected?
When an exception is thrown with a specific error message, I would expect to see that that text in the console output.
What version of Cake are you using?
Version 0.22.2+Branch.main.Sha.c8630875bc14ce11aa758e0dcd55f691da5f602b
Are you running on a 32 or 64 bit system?
64 bit Windows
What environment are you running on? Windows? Linux? Mac?
64 bit Windows
Are you running on a CI Server? If so, which one?
No. Command line
How Did You Get This To Happen? (Steps to Reproduce)
Run cake:
Cake test.cake
Output:
The text was updated successfully, but these errors were encountered: