mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-23 14:27:48 +00:00
fix(web): prevent crash adding log entry for keystroke with inputBreadCrumb
Fixes: #16760 Fixes: [KEYMAN_WEB_YH](https://keyman.sentry.io/issues/7661231665/?referrer=github_integration) Cherry-pick: #16761 Build-bot: skip Test-bot: skip
This commit is contained in:
parent
5133100658
commit
59e032fd60
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ export class TranscriptionCache extends RewindableCache<Transcription> {
|
|||
});
|
||||
|
||||
return entries
|
||||
.map(({key, entry}) => `Context state ${key}'s keystroke:\n${entry.keystroke.inputBreadcrumb ?? ''}`)
|
||||
.map(({key, entry}) => `Context state ${key}'s keystroke:\n${entry?.keystroke?.inputBreadcrumb ?? ''}`)
|
||||
.join('\n');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue