Skip to content

Commit

Permalink
Improve logging of group call peeking failures
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
  • Loading branch information
automated-signal and EvanHahn-Signal committed Oct 19, 2021
1 parent 01d9dc3 commit 1e1828c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ts/state/ducks/calling.ts
Expand Up @@ -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';
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 1e1828c

Please sign in to comment.