There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Feature request: Choose what should happen when function fails
As it is today when a function like Razor or Xslt fails, it either shows an [Error]-message on the page or a yellow box with the Stacktrace if you're logged into the console.
There should be an option to configure this more carefully, in particular im interested in a ThrowYSOD option, that would enable developers to redirect users to a friendly 500-page and log unhandled exceptions centrally.