davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

com.gitblit.client.GitblitClient login operation swallows Exceptions #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Initialize an object of com.gitblit.client.GitblitClient
 and invoke login operation
2. Try to login with invalid credentials

What is the expected output? What do you see instead?
Client recieves no error message, but should return an exception. So seems 
UnauthorizedExceptions and some other exceptions are swallowed there.

What version of the product are you using? On what operating system?
API 1.2.1  on Ubuntu 11.10

Please provide any additional information below.

Original issue reported on code.google.com by sajhak on 9 Feb 2013 at 8:52

GoogleCodeExporter commented 9 years ago
Empty catch blocks should not be there. Have a "throw e" there..

Original comment by sajhak on 9 Feb 2013 at 9:05

GoogleCodeExporter commented 9 years ago

Original comment by James.Mo...@gmail.com on 13 Feb 2013 at 1:06

GoogleCodeExporter commented 9 years ago

Original comment by James.Mo...@gmail.com on 23 May 2013 at 12:07