Skip to content

Commit

Permalink
[lib] Add staff alert for missing device keys
Browse files Browse the repository at this point in the history
Summary: https://linear.app/comm/issue/ENG-9839/session-does-not-exist-alerts-on-web-app

Test Plan: Run flow

Reviewers: tomek, kamil

Reviewed By: kamil

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D13887
  • Loading branch information
graszka22 committed Nov 7, 2024
1 parent 3f50d08 commit 7ded1af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/tunnelbroker/use-peer-to-peer-message-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ function usePeerToPeerMessageHandler(): (
`${senderDeviceID}: No keys for the device, ` +
`session version: ${sessionVersion}`,
);
showAlertToStaff(
'Error creating inbound session with device ',
`${senderDeviceID}: No keys for the device, ` +
`session version: ${sessionVersion}`,
);
return;
}

Expand Down

0 comments on commit 7ded1af

Please sign in to comment.