acdh-oeaw / vicav-vue3

Reimplementation of the VICAV Frontend based on Vue.js 3
https://vicav-vue.acdh-ch-dev.oeaw.ac.at
MIT License
0 stars 0 forks source link

Create fallback page when api is offline #102

Closed ttechnicus closed 7 months ago

ttechnicus commented 8 months ago

Current experience: "project" endpoint returns error 500, and the frontend is showing an error 500 page

Desired behavior: error handling

ttechnicus commented 8 months ago

By agreement with @ctot-nondef the scope of this task also includes creating a global maintenance page

ttechnicus commented 8 months ago

@ctot-nondef IMHO the global error page is a fair way of handling when the project info enpoint returns an error, as the application cannot be set up.

Let's agree if this task also includes implementing error handling on other api calls that should not lead to the global error page.

ttechnicus commented 8 months ago

According to discussion with @ctot-nondef and @simar0at Returning an http status code 200 when error.vue is displayed is outside of the scope of this issue, and is handled in #106 .