promise-stale-if-error

Wraps a promise-returning function so it resolves to the last good value on error