1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

Temporary fix: log exception stack trace in handleNetworkDown

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1781 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-08-31 09:22:25 +00:00
parent 00805e2760
commit 2aa932bda9

View File

@ -235,7 +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);
ExchangeSession.LOGGER.debug(exc, exc);
throw new NetworkDownException("EXCEPTION_NETWORK_DOWN");
} else {
BundleMessage message = new BundleMessage("EXCEPTION_CONNECT", exc.getClass().getName(), exc.getMessage());