From 1d1a05ee7b8fdfe0fff681151ea5fb8fb9606fc8 Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 7 Oct 2014 11:57:03 +0000 Subject: [PATCH] log tweak --- .../net/i2p/client/streaming/I2PSocketManagerFactory.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java index 3aee4b9595..4635727aad 100644 --- a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java +++ b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java @@ -280,7 +280,10 @@ public class I2PSocketManagerFactory { SigType rv = SigType.parseSigType(st); if (rv != null && rv.isAvailable()) return rv; - getLog().error("Unsupported sig type " + st); + if (rv != null) + st = rv.toString(); + getLog().logAlways(Log.WARN, "Unsupported sig type " + st + + ", reverting to " + I2PClient.DEFAULT_SIGTYPE); } } return I2PClient.DEFAULT_SIGTYPE;