Print console output with assertion error message