Some commentary
Return error instead of simply panicking
Use error reporting template rendering
Don't count redirects