Commit 756ea1b4 by Jan Hrabal

m

parent ba585032
...@@ -140,9 +140,9 @@ public class AuthApiController { ...@@ -140,9 +140,9 @@ public class AuthApiController {
try { try {
authService.register(signup.getLogin(), signup.getPassword()); authService.register(signup.getLogin(), signup.getPassword());
} catch (BadCredentialsException e) {
errors.add(ErrorMessage.withCode(e.getMessage()));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
errors.add(ErrorMessage.withMessage(e.getMessage())); errors.add(ErrorMessage.withMessage(e.getMessage()));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment