projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🔥 Remove “create” flag from session provider interface
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
freenet
/
wot
/
IdentityLoader.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoader.kt
b/src/main/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoader.kt
index
3a71772
..
474ab57
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoader.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoader.kt
@@
-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
*
* 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." }) {
} 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)
}
}
}
}
}
}