src/main/java/de/uapcore/lightpit/modules/UsersModule.java

changeset 75
33b6843fdf8a
parent 74
91d1fc2a3a14
child 78
bb4c52bf3439
     1.1 --- a/src/main/java/de/uapcore/lightpit/modules/UsersModule.java	Fri May 22 17:26:27 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/modules/UsersModule.java	Fri May 22 21:23:57 2020 +0200
     1.3 @@ -91,7 +91,7 @@
     1.4              setContentPage(req, Constants.JSP_COMMIT_SUCCESSFUL);
     1.5  
     1.6              LOG.debug("Successfully updated user {}", user.getUsername());
     1.7 -        } catch (NoSuchElementException | NumberFormatException | SQLException ex) {
     1.8 +        } catch (NoSuchElementException | IllegalArgumentException | SQLException ex) {
     1.9              // TODO: set request attribute with error text
    1.10              req.setAttribute("user", user);
    1.11              setContentPage(req, "user-form");

mercurial