Checked if the result code was not RESULT_OK