[Enhancement] Show error messages in-app for easier triage (#365)

* Added an improved error message screen with actionable details

* Added a basic 404 page

* fixed tests
This commit is contained in:
Kieran
2024-08-23 13:33:27 -07:00
committed by GitHub
parent a6c61ccd0d
commit 14b8ecbe44
5 changed files with 37 additions and 11 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ config :pinchflat, PinchflatWeb.Endpoint,
adapter: Phoenix.Endpoint.Cowboy2Adapter,
render_errors: [
formats: [html: PinchflatWeb.ErrorHTML, json: PinchflatWeb.ErrorJSON],
layout: false
root_layout: {PinchflatWeb.Layouts, :root},
layout: {PinchflatWeb.Layouts, :app}
],
pubsub_server: Pinchflat.PubSub,
live_view: [signing_salt: "/t5878kO"]