Improve logging of group call peeking failures
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
} from 'mac-screen-capture-permissions';
|
} from 'mac-screen-capture-permissions';
|
||||||
import { has, omit } from 'lodash';
|
import { has, omit } from 'lodash';
|
||||||
import { getOwn } from '../../util/getOwn';
|
import { getOwn } from '../../util/getOwn';
|
||||||
|
import * as Errors from '../../types/errors';
|
||||||
import { getPlatform } from '../selectors/user';
|
import { getPlatform } from '../selectors/user';
|
||||||
import { isConversationTooBigToRing } from '../../conversations/isConversationTooBigToRing';
|
import { isConversationTooBigToRing } from '../../conversations/isConversationTooBigToRing';
|
||||||
import { missingCaseError } from '../../util/missingCaseError';
|
import { missingCaseError } from '../../util/missingCaseError';
|
||||||
@@ -884,7 +885,7 @@ function peekNotConnectedGroupCall(
|
|||||||
try {
|
try {
|
||||||
peekInfo = await calling.peekGroupCall(conversationId);
|
peekInfo = await calling.peekGroupCall(conversationId);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
log.error('Group call peeking failed', err);
|
log.error('Group call peeking failed', Errors.toLogFormat(err));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user