Better template error handling.
Filter the stacktrace.