forked from I2P_Developers/i2p.i2p
log level tweak, bump for review
This commit is contained in:
@@ -18,10 +18,10 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 24;
|
||||
public final static long BUILD = 25;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
public final static String EXTRA = "-rc";
|
||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + FULL_VERSION);
|
||||
|
@@ -225,7 +225,9 @@ class MessageReceiver {
|
||||
_context.messageHistory().droppedInboundMessage(state.getMessageId(), state.getFrom(), "error: " + ime.toString() + ": " + state.toString());
|
||||
return null;
|
||||
} catch (Exception e) {
|
||||
_log.error("Error handling a message: " + state, e);
|
||||
// e.g. AIOOBE
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Error handling a message: " + state, e);
|
||||
_context.messageHistory().droppedInboundMessage(state.getMessageId(), state.getFrom(), "error: " + e.toString() + ": " + state.toString());
|
||||
return null;
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user