diff --git a/src/tuwien/auto/calimero/knxnetip/ClientConnection.java b/src/tuwien/auto/calimero/knxnetip/ClientConnection.java index e4c22eda..b9891fae 100644 --- a/src/tuwien/auto/calimero/knxnetip/ClientConnection.java +++ b/src/tuwien/auto/calimero/knxnetip/ClientConnection.java @@ -1,6 +1,6 @@ /* Calimero 2 - A library for KNX network access - Copyright (c) 2010, 2015 B. Malinowsky + Copyright (c) 2010, 2016 B. Malinowsky This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -170,7 +170,7 @@ protected void connect(final InetSocketAddress localEP, final InetSocketAddress if (localEP.getAddress().isLoopbackAddress()) logger.warn("try to specify the actual IP address of the local host"); LogManager.getManager().removeLogService(logger.getName()); - throw new KNXException("on connect to " + serverCtrlEP + ": " + thrown.getMessage()); + throw new KNXException("on connect to " + serverCtrlEP, thrown); } logger.trace("wait for connect response from " + ctrlEndpt + " ...");