xAuth error handling

Error was not being handled when an xAuth request failed