rmuir commented on PR #817: URL: https://github.com/apache/lucene/pull/817#issuecomment-1102998198
> Maybe it'd be better to create a single finalizer task (at the root level), collect all the spotless tasks in the graph and add finalizedBy pointing at that single task (it's still need to check the status of those tasks it finalizes). Then if you have multiple failures, it'd print the message just once. It could even fail on its own - then the error would be the last one reported... But then, maybe it's overdoing things. This is beyond my area of gradle kung fu, but I'll leave the PR open in case anyone else understands it. I just basically hacked until I was able to get something printed in the case spotless fails. If there is a way to "try/catch" its error, that would be fine too. I do think, despite its confusing errors, that it is best to print whatever spotless says. It is just that we want to "amend" the output (loudly) when it does with a simple tip to make it easier. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org