]> jfr.im git - irc/rizon/acid.git/commitdiff
use the logger instead of printing a useless stacktrace when a TS cannot be converted...
authorchristinaa <redacted>
Wed, 30 Aug 2017 00:26:29 +0000 (17:26 -0700)
committerchristinaa <redacted>
Wed, 30 Aug 2017 00:26:29 +0000 (17:26 -0700)
acid/src/main/java/net/rizon/acid/core/Message.java

index ad5460655d365c0be735b7be4e6b0c65a1520de5..61b71902ca5b2da99b71dceed412d6e2c7451367 100644 (file)
@@ -42,7 +42,7 @@ public abstract class Message
                }
                catch (NumberFormatException ex)
                {
-                       ex.printStackTrace();
+                       log.warn("Cannot convert TS value '{}' to an integer, dropping message", newTS);
                        return true;
                }
        }