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
|
@ -865,7 +865,11 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
};
|
||||
}
|
||||
default:
|
||||
window.log.error(missingCaseError(callHistoryDetails));
|
||||
window.log.error(
|
||||
`getPropsForCallHistory: missing case ${missingCaseError(
|
||||
callHistoryDetails
|
||||
)}`
|
||||
);
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue