Log if WoT returns an error.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 11 Nov 2012 11:42:57 +0000 (12:42 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 11 Nov 2012 11:42:57 +0000 (12:42 +0100)
src/main/java/de/todesbaum/jsite/application/WebOfTrustInterface.java

index ea5c6b3..e296fdf 100644 (file)
@@ -220,6 +220,8 @@ public class WebOfTrustInterface implements Runnable {
                                        }
                                } else if ("ProtocolError".equals(message.getName())) {
                                        logger.log(Level.WARNING, "WebOfTrust Plugin not found!");
+                               } else if ("Error".equals(message.getName())) {
+                                       logger.log(Level.WARNING, "WebOfTrust Plugin returned an error!");
                                }
 
                                /* disconnect. */