File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -677,12 +677,22 @@ pub(crate) async fn receive_imf_inner(
677677 let res = if mime_parser. incoming {
678678 handle_securejoin_handshake ( context, & mut mime_parser, from_id)
679679 . await
680- . context ( "error in Secure-Join message handling" ) ?
680+ . with_context ( || {
681+ format ! (
682+ "Error in Secure-Join '{}' message handling" ,
683+ mime_parser. get_header( HeaderDef :: SecureJoin ) . unwrap_or( "" )
684+ )
685+ } ) ?
681686 } else if let Some ( to_id) = to_ids. first ( ) . copied ( ) . flatten ( ) {
682687 // handshake may mark contacts as verified and must be processed before chats are created
683688 observe_securejoin_on_other_device ( context, & mime_parser, to_id)
684689 . await
685- . context ( "error in Secure-Join watching" ) ?
690+ . with_context ( || {
691+ format ! (
692+ "Error in Secure-Join '{}' watching" ,
693+ mime_parser. get_header( HeaderDef :: SecureJoin ) . unwrap_or( "" )
694+ )
695+ } ) ?
686696 } else {
687697 securejoin:: HandshakeMessage :: Propagate
688698 } ;
You can’t perform that action at this time.
0 commit comments