diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2016-08-29 12:18:38 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2016-08-30 20:51:02 +0200 |
commit | d52bf2eee0eb8cd05d2c62c9b86e29db2616734c (patch) | |
tree | cd2b1dcc58cf9d294647771605179366acbb2baa /org.eclipse.jgit.pgm | |
parent | ac856720220153a152924d08a5a4fbe262d6bdd0 (diff) | |
download | jgit-d52bf2eee0eb8cd05d2c62c9b86e29db2616734c.tar.gz jgit-d52bf2eee0eb8cd05d2c62c9b86e29db2616734c.zip |
Add specific exception for LFS unavailable
Instead of returning null, LfsProtocolServlet#getLargeFileRepository
should throw LfsUnavailable.
If null is returned, throw a generic LfsException.
Handle LfsException as an internal server error and return HTTP 500.
Change-Id: I33e2a19fcc0fde8aaf0f703860c8fa8ce2de2db5
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.pgm')
0 files changed, 0 insertions, 0 deletions