stevelacy/gulp-stylus — pull request #54 by elisee (2014-06-02 04:10:43+00:00)
Title: Only emit PluginError if errors aren't logged

When passing ``{ errors: true }`` to gulp-stylus, the error gets logged to the console by gulp-stylus and then gulp itself logs the PluginError again with a (very long) stacktrace saying it is "potentially unhandled".

This pull request changes gulp-stylus so that the error isn't emitted to gulp if it has been logged to the console. I'm not sure if there are any other implications to not emitting the error but it seems to do the job for me.

(I'm using the latest version of gulp, 3.7)