Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: error pages #327

Merged
merged 2 commits into from
Oct 31, 2024
Merged

chore: error pages #327

merged 2 commits into from
Oct 31, 2024

Conversation

tomwisecodes
Copy link
Contributor

Description

Deals with this convo https://www.notion.so/oaknationalacademy/Error-pages-4381e99e87214d4d9a1d9169d67363f9

  1. The discussion raises a warning seen in the vercel logs about it not being able to fine _error.js which is a page that is deprecated when using the app router (which we are). The general solution I can see is to either ignore the warning (only a warning) or to add a _error.js page which is a bit nasty. I have however to save the warning added the _error.js page with a redirect to our global error handler. I am open to discussion here!

  2. Along side this I have borrowed the styling from our 404 page for our global error page.

Copy link

vercel bot commented Oct 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oak-ai-lesson-assistant ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 10:56am

Copy link

Copy link

Playwright test results

passed  13 passed
skipped  1 skipped

Details

report  Open report ↗︎
stats  14 tests across 13 suites
duration  1 minute, 27 seconds
commit  b461bde

Skipped tests

No persona › tests/auth.test.ts › authenticate through Clerk UI

@tomwisecodes tomwisecodes merged commit 761f431 into main Oct 31, 2024
14 checks passed
@tomwisecodes tomwisecodes deleted the chore/error-pages branch October 31, 2024 14:54
@oak-machine-user
Copy link
Collaborator

🎉 This PR is included in version 1.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants