add error message to the assert