@iaskquestions wrote:
I periodically call
.refresh()
on my route as I am not using Ember data but instead rely onRSVP.hash
.This allows me pretend that my application is autoreloading and works fine until the backend goes down and a failure occurs.
This causes an exception to be propagated to the frontend and makes the frontend enter an error state.
How do I use the old model before a reload if the reload fails? I have tried using a try/catch on the
.refresh()
call but this does not appear to make a difference.Thanks!
Posts: 4
Participants: 2