From 00805e27603ff0f3b234e7c039c5c0702b7170f7 Mon Sep 17 00:00:00 2001 From: mguessan Date: Mon, 29 Aug 2011 21:11:03 +0000 Subject: [PATCH] Temporary fix: log exception in handleNetworkDown git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1780 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/exchange/ExchangeSessionFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/davmail/exchange/ExchangeSessionFactory.java b/src/java/davmail/exchange/ExchangeSessionFactory.java index 4be949eb..029a9981 100644 --- a/src/java/davmail/exchange/ExchangeSessionFactory.java +++ b/src/java/davmail/exchange/ExchangeSessionFactory.java @@ -235,6 +235,7 @@ public final class ExchangeSessionFactory { private static void handleNetworkDown(Exception exc) throws DavMailException { if (!checkNetwork() || configChecked) { ExchangeSession.LOGGER.warn(BundleMessage.formatLog("EXCEPTION_NETWORK_DOWN")); + ExchangeSession.LOGGER.debug(exc); throw new NetworkDownException("EXCEPTION_NETWORK_DOWN"); } else { BundleMessage message = new BundleMessage("EXCEPTION_CONNECT", exc.getClass().getName(), exc.getMessage());