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

Caldav: rethrow SocketException to avoid event not available on client connection close or DavMail listener restart

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1636 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-03-07 14:16:22 +00:00
parent 51f8e966ab
commit b489120d7e

View File

@ -711,6 +711,9 @@ public class CaldavConnection extends AbstractConnection {
}
appendItemResponse(response, request, item);
}
} catch (SocketException e) {
// rethrow SocketException (client closed connection)
throw e;
} catch (Exception e) {
wireLogger.debug(e.getMessage(), e);
DavGatewayTray.warn(new BundleMessage("LOG_ITEM_NOT_AVAILABLE", eventName, href));