code issues fixed 41/57441/3
authorseshukm <seshu.kumar.m@huawei.com>
Wed, 25 Jul 2018 08:35:04 +0000 (16:35 +0800)
committerSeshu Kumar M <seshu.kumar.m@huawei.com>
Wed, 25 Jul 2018 09:40:35 +0000 (09:40 +0000)
Issue-ID: SO-729

Change-Id: Ib10e7257ee2c9524967a6ba73b18c1bee9d9add2
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
openstack-client-connectors/http-connector/src/main/java/com/woorea/openstack/connector/HttpClientConnector.java

index b3511e8..050a4d9 100644 (file)
@@ -207,7 +207,7 @@ public class HttpClientConnector implements OpenStackClientConnector {
                }
                catch (Exception e) {
                        // Catchall for anything else, must throw as a RuntimeException
-                       e.printStackTrace();
+                       LOGGER.error ("Unexpected client exception: " +e.getMessage());
                        throw new RuntimeException("Unexpected client exception", e);
                }
                finally {