adding error block to the answer question ajax call