Skip to content

Improve error handling #118

@tobyzerner

Description

@tobyzerner

Forum backend

  • Load Whoops vs. a custom error handler middleware depending on whether debug config setting is on or off
  • Design custom error pages - one for 404, one for 500
  • Build said custom error handler to render appropriate said custom error page

API

  • Load Whoops vs. a custom error handler middleware depending on whether debug config setting is on or off
  • Build said custom error handler to output errors in JSON-API spec format

Forum frontend

  • Design and handle error messages for empty sections (i.e. no discussion list results, no activity in a user's profile)
  • Design and handle error page for discussion not found, user not found, route not found, etc.
  • Better handling of general AJAX request errors (gracefully fail on unparseable JSON, timeouts, disconnect)
  • Better handling of API errors (make sure all AJAX requests have an appropriate error handler, this would be handy)
  • Nicer error message when the client fails to load due to a JS error

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions