use generic exception instead of special SQLException

This commit is contained in:
Oliver Goldschmidt
2021-03-24 14:24:48 +01:00
parent e1478f6fdd
commit ede3f11073

View File

@@ -156,7 +156,7 @@ public class LDAPAuthentication
} }
} }
} }
} catch (SQLException ex) { } catch (Exception ex) {
// The user is not an LDAP user, so we don't need to worry about them // The user is not an LDAP user, so we don't need to worry about them
} }
return Collections.EMPTY_LIST; return Collections.EMPTY_LIST;