Merge "Added the missing Copyright headers to most of the java files."
[ovsdb.git] / neutron / src / main / java / org / opendaylight / ovsdb / neutron / AdminConfigManager.java
index 4f47498951d1ff45980f00bc7c0c02a72238f5e8..adfd5813cf053bcd33b7965d0a03ba52001643e5 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * Copyright (C) 2013 Red Hat, Inc.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Authors : Madhu Venugopal, Brent Salisbury
+ */
 package org.opendaylight.ovsdb.neutron;
 
 import java.net.InetAddress;
@@ -123,7 +132,7 @@ public class AdminConfigManager {
                     addTunnelEndpoint(node, address);
                     logger.debug("Tunnel Endpoint for Node {} {}", node, address.getHostAddress());
                 } catch (UnknownHostException e) {
-                    e.printStackTrace();
+                    logger.error("Unable to add tunnel endpoint for node " + node, e);
                 }
             }
         }
@@ -157,4 +166,4 @@ public class AdminConfigManager {
             logger.error("Error populating Tunnel Endpoint for Node {} ", node, e);
         }
     }
-}
\ No newline at end of file
+}