Show additional data in debug log header
This commit is contained in:
parent
03874a788f
commit
689542a9b4
14 changed files with 278 additions and 89 deletions
|
@ -309,9 +309,13 @@ export class ConversationController {
|
|||
return conversationId;
|
||||
}
|
||||
|
||||
getOurConversation(): ConversationModel | undefined {
|
||||
const conversationId = this.getOurConversationId();
|
||||
return conversationId ? this.get(conversationId) : undefined;
|
||||
}
|
||||
|
||||
getOurConversationOrThrow(): ConversationModel {
|
||||
const conversationId = this.getOurConversationIdOrThrow();
|
||||
const conversation = this.get(conversationId);
|
||||
const conversation = this.getOurConversation();
|
||||
if (!conversation) {
|
||||
throw new Error(
|
||||
'getOurConversationOrThrow: Failed to fetch our own conversation'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue