b4ecc4016829d56544025d58bd3fbe50d3c7ee22
File diffs can only be displayed for files that do not exceed a threshold for big files. If a file is larger, building the patch script fails with org.eclipse.jgit.errors.LargeObjectException. Since org.eclipse.jgit.errors.LargeObjectException is a RuntimeException the GerritJsonServlet treats it as internal failure and as result the web ui just shows 'Internal Server Error'. This change ensures that a proper error message is displayed in this case. This is done by wrapping the org.eclipse.jgit.errors.LargeObjectException into a normal Exception. Change-Id: I708957a2fadfce88f3c0c6a433343274ae169b6f Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Description
RETIRED, Gerrit as used by OpenStack