fix missing status/body when something went wrong