fix: don't print expected exception

This commit is contained in:
Hugo Renard 2022-10-19 16:49:51 +02:00
parent 1e3ae07e72
commit 6649cc430d
Signed by: hougo
GPG key ID: 3A285FD470209C59

View file

@ -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);
}