Do not drop the exception in the error handler

When an HTML rendering fails, the handler drops the exception without
saying anything. Add the rendering exception as a suppressed exception
and rethrow the original exception. This helps debugging an issue that
the handler is trying to change the status code for the committed
response.

Change-Id: I9e2e73222cd71df6bd6ebef7b12d385abb6531af
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
1 file changed
tree: 8663e0c54c8917d3bbc33182a08b710042470bb9
  1. .bazelrc
  2. .gitignore
  3. .mailmap
  4. .settings/
  5. BUILD
  6. COPYING
  7. Documentation/
  8. README.md
  9. WORKSPACE
  10. fake_pom_deploy.xml
  11. java/com/google/gitiles/
  12. javatests/com/google/gitiles/
  13. lib/
  14. navbar.md
  15. resources/
  16. tools/
  17. version.bzl
README.md

Gitiles - A simple JGit repository browser

Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.

Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.

Configuration

Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.

Bugs

Use the issue tracker at github to file bugs.

Contributing to Gitiles

Please refer to the Developer Guide.