diff --git a/modules/openid-federation-client/src/commonMain/kotlin/com/sphereon/oid/fed/client/trustchain/TrustChain.kt b/modules/openid-federation-client/src/commonMain/kotlin/com/sphereon/oid/fed/client/trustchain/TrustChain.kt index 56da9c0..ff48b60 100644 --- a/modules/openid-federation-client/src/commonMain/kotlin/com/sphereon/oid/fed/client/trustchain/TrustChain.kt +++ b/modules/openid-federation-client/src/commonMain/kotlin/com/sphereon/oid/fed/client/trustchain/TrustChain.kt @@ -37,7 +37,7 @@ class TrustChain } else { TrustChainResolveResponse(null, true, "A Trust chain could not be established") } - } catch (e: Exception) { + } catch (e: Throwable) { TrustChainConst.LOG.error("buildTrustChainRecursive failed", e) TrustChainResolveResponse(null, true, e.message) }