better error handling in gulp