/*
- * Sone - IdentityLoader.java - Copyright © 2013–2019 David Roden
+ * Sone - IdentityLoader.kt - Copyright © 2013–2020 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
} 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)
}
}
}