nishiki-tech / nishiki-frontend

Nishiki is an app for tracking and sharing food inventories within groups for better pantry management.
https://nishiki.tech
MIT License
17 stars 5 forks source link

Error handling on Server side data fetching #312

Closed kanta1207 closed 4 months ago

kanta1207 commented 4 months ago

Description

Currently, when the application fails on server side data fetching, it will just redirect to NextJS`s built-in internal error page.

⏬ This page Image

We need to handle this better.

Criteria

Notes

Reference : https://nextjs.org/docs/app/building-your-application/routing/error-handling#handling-errors-in-root-layouts

kanta1207 commented 4 months ago

This issue is duplicated with #156 , so moved the content to there, and closing this issue