📄 Update year in file headers
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / freenet / wot / IdentityLoader.kt
index 3a71772..474ab57 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -48,12 +48,7 @@ class IdentityLoader @Inject constructor(private val webOfTrustConnector: WebOfT
                                                } 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)
                                                        }
                                                }
                                        }