TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -93,7 +93,7 @@ class CalendarEventAPI {
|
||||
methodCallId,
|
||||
GetCalendarEventAttendanceResponse.deserialize);
|
||||
} catch (e) {
|
||||
logError('CalendarEventAPI.parse free/busy query error: $e');
|
||||
logWarning('CalendarEventAPI.parse free/busy query error: $e');
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -668,7 +668,7 @@ class EmailAPI with HandleSetErrorMixin, MailAPIMixin {
|
||||
cancelToken: cancelToken
|
||||
);
|
||||
} catch (e) {
|
||||
logError('EmailAPI::updateEmailDrafts: Exception = $e');
|
||||
logWarning('EmailAPI::updateEmailDrafts: Exception = $e');
|
||||
}
|
||||
|
||||
return emailCreated;
|
||||
@@ -713,7 +713,7 @@ class EmailAPI with HandleSetErrorMixin, MailAPIMixin {
|
||||
cancelToken: cancelToken
|
||||
);
|
||||
} catch (e) {
|
||||
logError('EmailAPI::updateEmailTemplate: Exception = $e');
|
||||
logWarning('EmailAPI::updateEmailTemplate: Exception = $e');
|
||||
}
|
||||
|
||||
return emailCreated;
|
||||
|
||||
Reference in New Issue
Block a user