Error output limiting

PV: **none**
* Limited error logging to make it easier to find errors in the logs
* Render internal server error page instead of redirecting to preserve error URL