Added error information on assert failure