mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-13 06:28:19 -05:00
Caldav: new fix for invalid events
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@953 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
4347643185
commit
c8298f6e29
@ -1809,9 +1809,9 @@ public class ExchangeSession {
|
||||
* User Translate: f header to get MIME event content and get ICS attachment from it
|
||||
*
|
||||
* @return ICS (iCalendar) event
|
||||
* @throws IOException on error
|
||||
* @throws HttpException on error
|
||||
*/
|
||||
public String getICS() throws IOException {
|
||||
public String getICS() throws HttpException {
|
||||
String result;
|
||||
LOGGER.debug("Get event: " + permanentUrl);
|
||||
// try to get PR_INTERNET_CONTENT
|
||||
@ -2546,7 +2546,7 @@ public class ExchangeSession {
|
||||
// check ics content
|
||||
try {
|
||||
event.getICS();
|
||||
} catch (IOException e) {
|
||||
} catch (HttpException e) {
|
||||
// invalid event: exclude from list
|
||||
LOGGER.warn("Invalid event found at " + response.getHref(), e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user