} else {
logger.fine { "Loading trusted identities for $ownIdentity from WoT..." }
time({ stopwatch, identities -> "Loaded ${identities.size} identities for ${ownIdentity.nickname} in ${stopwatch.elapsed(MILLISECONDS) / 1000.0}s." }) {
- try {
- webOfTrustConnector.loadTrustedIdentities(ownIdentity, context?.context)
- } catch (e: Exception) {
- logger.warning { "Caught $e on loading trusted identities for $ownIdentity."}
- throw e
- }
+ webOfTrustConnector.loadTrustedIdentities(ownIdentity, context?.context)
}
}
}
}
} catch (wote1: WebOfTrustException) {
logger.log(Level.WARNING, "WoT has disappeared!", wote1)
+ } catch (e: Exception) {
+ logger.log(Level.SEVERE, "Uncaught exception in IdentityManager thread!", e)
}
/* wait a minute before checking again. */