-
Notifications
You must be signed in to change notification settings - Fork 13
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
Slightly misleading error message when failing to evaluate project #148
Comments
I'll put it here as well: the errors are show as part of the log already, no? So the error message could point people to scroll a little up, and see it there. Or we could actually record any errors coming from Gradle, and present them here in a more collected way. |
No it is not shown as part of the log. It looks like this:
Another solution might be to inform the user to run the same command with
|
Oh, I see. So when the build fails to run, Pride masks that by this error. On Mon, Jun 22, 2015 at 10:31 AM rosadam notifications@github.com wrote:
|
Problem
When trying to issue a pride command and one of the projects cannot be evaluated, because of some exception the following error will be printed:
See:
pride/pride/src/main/java/com/prezi/pride/cli/model/ProjectModelAccessor.java
Line 62 in e671693
It is misleading because it is not about parsing, but evaluating the project. If you issue a simple
./gradlew
command the following error will be printed:Suggested solution
Change the output to
Why? The
./gradlew
command will evaluate the projects too, and print out a user-friendly error message with more information about the actual problem.The text was updated successfully, but these errors were encountered: