--- a/app.js +++ b/app.js } catch (e) { state.error = e.message; + state.loading = false; }