error handling for groc in grunt