lib/gulp/utils/error.js
function handleError (task) {
  return function (err) {
    console.log(chalk.red(err));
    notify.onError(task + ' failed, check the logs..')(err);
  };
}
function handleError (task) {
  return function (err) {
    console.log(chalk.red(err));
    notify.onError(task + ' failed, check the logs..')(err);
  };
}
function handleError ( task ) { return function ( err ) { console . log ( chalk . red ( err ) ) ; notify . onError ( task + ' failed, check the logs..' ) ( err ) ; } ; }
Log errors from Gulp
@param {string} task
Log errors from Gulp