first of all - great project! Saved a lot of potential trouble and we do intend to use it!
Now, to the business...
error and proceeds further. This results in a successfull build with 2 (or more) errors.
Now, wouldn't it be nice, if the build actually failed?
Suggestion: rethrow the exception, catch it inside CompressorTask.Execute(), and return false. This could also be param based (i.e. only if FailBuildOnError=true). There are alternative methods to this, I believe, too. In ideal world, you would also get
a line in which JS error occured, though I haven't investigated how to achieve that.
Also, this may not just be yet another feature request, as I might be able to spend some company (or at least personal) time to make a patch - though I'd probably need more detailed instructions and guidelines in this case from you.