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

[BUG] Error handling when application is crashing on root + general improvement of error handling #53

Open
danieldanielecki opened this issue Jan 13, 2025 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@danieldanielecki
Copy link
Member

Describe the bug
When application is crashing on the root level, a second screenshot from #15 might be displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Simulate crashing of entire application.

Expected behavior
Error handling is done nicely for exam & practice tests, that's good, with nice UI. Also for search queries, in page.tsx, but something on the root level could've been added as well. The app can display the same error page like for exam & practice tests.

Screenshots
image

Desktop (please complete the following information):

  • OS: any
  • Browser: any
  • Version: any (discovered in 1.2.0)

Smartphone (please complete the following information):

  • Device: any
  • OS: any
  • Browser: any
  • Version: any (discovered in 1.2.0)

Additional context
Small prio, but good first issue.

@danieldanielecki danieldanielecki added bug Something isn't working good first issue Good for newcomers labels Jan 13, 2025
@danieldanielecki
Copy link
Member Author

After testing: in general, error handling doesn't work perfectly for practice & exam pages. questionSet object needs to be debugged if we can rely on this in displaying error (if (!questionSet) { check)`.

Additionally, for practice test there must be also error handling on each individual question due to having an unique URL.

@danieldanielecki danieldanielecki changed the title [BUG] Error handling when application is crashing on root [BUG] Error handling when application is crashing on root + general improvement of error handling Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant