diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java index 3a41bdf2a4..bd43f9f800 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java @@ -127,7 +127,9 @@ private List fetchShellDescriptorsForConnect log.debug("InterruptedException occurred while fetching shells for bpn '%s'".formatted(bpn), e); Thread.currentThread().interrupt(); return emptyList(); - } catch (ExecutionException e) { + } catch (ResultFinder.CompletionExceptions | ExecutionException e) { + // TODO do not log and throw, this is just for temporary debugging + log.error(e.getMessage(), e); throw new RegistryServiceRuntimeException( "Exception occurred while fetching shells for bpn '%s'".formatted(bpn), e); } finally { @@ -194,7 +196,9 @@ private Collection lookupShellIds(final String bpn) { log.debug("InterruptedException occurred while looking up shells ids for bpn '%s'".formatted(bpn), e); Thread.currentThread().interrupt(); return emptyList(); - } catch (ExecutionException e) { + } catch (ResultFinder.CompletionExceptions | ExecutionException e) { + // TODO do not log and throw, this is just for temporary debugging + log.error(e.getMessage(), e); throw new RegistryServiceRuntimeException( "Exception occurred while looking up shell ids for bpn '%s'".formatted(bpn), e); }