tylermmorton / torque

`torque` is a web framework for building hypermedia driven applications in Go
https://lbft.dev/
36 stars 3 forks source link

Feature: Uncaught Panic View #8

Closed tylermmorton closed 11 months ago

tylermmorton commented 11 months ago

Problem

Whenever a panic is left uncaught in server.go a log is printed to the console and nothing is written to the response body. This results in a blank screen in the browser.

In development environments it might be useful to render some HTML to the browser containing details about the error such as message & stack trace.

Rough outline of solution