gitweb/lib - Add support for setting error handler in cache