Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Error event triggered when server is completely offline #4788

Closed
masterX244 opened this issue Feb 2, 2017 · 2 comments
Closed

No Error event triggered when server is completely offline #4788

masterX244 opened this issue Feb 2, 2017 · 2 comments

Comments

@masterX244
Copy link

When for some reason the server is unreachable (for example shut down or crashed completely) any request done via RESTAdapter doesnt cause a error event of any type to happen

@bmac
Copy link
Member

bmac commented Feb 8, 2017

Hi @masterX244. I was unable to reproduce this issue. Normally you can see errors from the rest adapter by using the catch((error) => {...}) method on the promise returned from the store's findRecord, findAll, or query API or the save() method on a record.

Here is the ember twiddle I used to try to reproduce this issue.
https://ember-twiddle.com/f9a73141522b687c99192e4f56fe9648?openFiles=templates.application-error.hbs%2C

@runspired
Copy link
Contributor

Also could not reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants