gitweb: Add custom error handler using die_error