X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FWebOfTrustConnector.java;h=8dc8840e786882aac5f9a0568e128de6bbed5d97;hb=26c24524a07c96855b88340d9867c3efe6f964c4;hp=a8806c105eecddf308468c9fe9f6a9e7c0fad400;hpb=470ae9420753b23119c103976f5cf060e3cdcd08;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java index a8806c1..8dc8840 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -316,6 +316,7 @@ public class WebOfTrustConnector implements ConnectorListener { pluginConnector.sendRequest(WOT_PLUGIN_NAME, PLUGIN_CONNECTION_IDENTIFIER, fields, data); try { reply.wait(60000); + throw new PluginException("Timeout waiting for " + targetMessages[0] + "!"); } catch (InterruptedException ie1) { logger.log(Level.WARNING, "Got interrupted while waiting for reply on GetOwnIdentities.", ie1); }