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
[ ] Create a Go html template for the error page. Keep it simple for now and include styles in
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