Browse Source

fix(calendar): Remove logs with invalid calendar items.

master
Hristo Terezov 6 years ago
parent
commit
4575e7e119
1 changed files with 1 additions and 9 deletions
  1. 1
    9
      react/features/calendar-sync/functions.any.js

+ 1
- 9
react/features/calendar-sync/functions.any.js View File

@@ -6,7 +6,6 @@ import { setCalendarEvents } from './actions';
6 6
 import { APP_LINK_SCHEME, parseURIString } from '../base/util';
7 7
 import { MAX_LIST_LENGTH } from './constants';
8 8
 
9
-const logger = require('jitsi-meet-logger').getLogger(__filename);
10 9
 const ALLDAY_EVENT_LENGTH = 23 * 60 * 60 * 1000;
11 10
 
12 11
 /**
@@ -143,14 +142,7 @@ function _parseCalendarEntry(event, knownDomains) {
143 142
             || (navigator.product !== 'ReactNative'
144 143
                     && !url
145 144
                     && !event.calendarId)) {
146
-            logger.debug(
147
-                'Skipping invalid calendar event',
148
-                event.title,
149
-                event.startDate,
150
-                event.endDate,
151
-                url,
152
-                event.calendarId
153
-            );
145
+            // Ignore the event.
154 146
         } else {
155 147
             return {
156 148
                 allDay: event.allDay,

Loading…
Cancel
Save