correcting the error handling for gulp. Current on error method broke pipeline.