add basic error check gulpfile