Improve logging of group call peeking failures

This commit is contained in:
Evan Hahn 2021-10-18 18:14:24 -05:00 committed by GitHub
parent f21ae5023a
commit 26ff754896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ import {
} from 'mac-screen-capture-permissions';
import { has, omit } from 'lodash';
import { getOwn } from '../../util/getOwn';
import * as Errors from '../../types/errors';
import { getPlatform } from '../selectors/user';
import { isConversationTooBigToRing } from '../../conversations/isConversationTooBigToRing';
import { missingCaseError } from '../../util/missingCaseError';
@ -884,7 +885,7 @@ function peekNotConnectedGroupCall(
try {
peekInfo = await calling.peekGroupCall(conversationId);
} catch (err) {
log.error('Group call peeking failed', err);
log.error('Group call peeking failed', Errors.toLogFormat(err));
return;
}