How to see why a healthcheck failed on a service after it has been deregistered/restarted

I have a service that is registered in consul, it was running for a few hours and before it completed the work, nomad printed out a message saying the healthcheck was unhealthy and it then restarted the task. The developer tells me that if the healthcheck is really failing, it should log something, but it doesn’t, he asked me what response consul got back from the application when it failed. But since the service was deregistered and restarted I can’t see this information in the consul UI.

Is there any way to see what response consul got on a HTTP healthcheck once the service has been deregistered?