fix: don't print expected exception
This commit is contained in:
parent
1e3ae07e72
commit
6649cc430d
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ package sh.libre.scim.core;
|
|||
import java.util.stream.Stream;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.NoResultException;
|
||||
import javax.persistence.TypedQuery;
|
||||
import javax.ws.rs.NotFoundException;
|
||||
|
||||
|
@ -93,6 +94,7 @@ public abstract class Adapter<M extends RoleMapperModel, S extends com.unboundid
|
|||
return this.query("findByExternalId", externalId).getSingleResult();
|
||||
}
|
||||
} catch (NotFoundException e) {
|
||||
} catch (NoResultException e) {
|
||||
} catch (Exception e) {
|
||||
LOGGER.error(e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue