Store the HTTP status from Pin's API in the exception