Should this be:

    grunt.fail.warn(error.message, 3);

The documentation for this option says

> Fail and output script errors.

but my experience is that the task doesn't fail, i.e. an error is logged, but grunt does not think that the task failed.

cc @kmiyashiro, @demmer