updated gulpfile error handling