From: David ‘Bombe’ Roden Date: Wed, 12 Sep 2012 07:13:35 +0000 (+0200) Subject: Fix logging of exception. X-Git-Tag: 0.8.3^2~41 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=864f0802a2ae1cfaf4f94b3c29292aec31be1081;p=Sone.git Fix logging of exception. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 275ef9b..e3fdd19 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -2374,7 +2374,7 @@ public class Core extends AbstractService implements IdentityListener, UpdateLis FreenetURI uri = new FreenetURI(uriString).setDocName("Sone").setMetaString(new String[0]); return uri; } catch (MalformedURLException mue1) { - logger.log(Level.WARNING, String.format("Could not create Sone URI from URI: %s", uriString, mue1)); + logger.log(Level.WARNING, String.format("Could not create Sone URI from URI: %s", uriString), mue1); return null; } }