Put the status_code in the exception also