Ensure that context is always provided for error logs
This commit is contained in:
parent
7418a5c663
commit
be087c3498
5 changed files with 18 additions and 5 deletions
|
@ -102,7 +102,11 @@ export function getCallingNotificationText(
|
|||
case CallMode.Group:
|
||||
return getGroupCallNotificationText(notification, i18n);
|
||||
default:
|
||||
window.log.error(missingCaseError(notification));
|
||||
window.log.error(
|
||||
`getCallingNotificationText: missing case ${missingCaseError(
|
||||
notification
|
||||
)}`
|
||||
);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue