Minor change

- Setting a boolean in xhr shim error handler