diff --git a/rollbar-java/src/main/java/com/rollbar/notifier/util/ObjectsUtils.java b/rollbar-java/src/main/java/com/rollbar/notifier/util/ObjectsUtils.java
index <HASH>..<HASH> 100644
--- a/rollbar-java/src/main/java/com/rollbar/notifier/util/ObjectsUtils.java
+++ b/rollbar-java/src/main/java/com/rollbar/notifier/util/ObjectsUtils.java
@@ -1,5 +1,8 @@
 package com.rollbar.notifier.util;
 
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
 import java.io.Closeable;
 import java.io.IOException;
 import java.util.Arrays;
@@ -9,6 +12,8 @@ import java.util.Arrays;
  */
 public class ObjectsUtils {
 	
+	private static Logger logger = LoggerFactory.getLogger(ObjectsUtils.class);
+	
 	public static boolean equals(Object object1, Object object2) {
 		return object1 == object2 || object1 != null && object1.equals(object2);
 	}
@@ -31,7 +36,7 @@ public class ObjectsUtils {
 				closeable.close();
 			}
 		} catch (IOException e) {
-			e.printStackTrace();
+			logger.error("Unable to close stream.", e);
 		}
 	}
-}
+}
\ No newline at end of file
use a Logger for exceptions logging