Adding error handling to gulp tasks