Added error handling to gulp