Commit b08b8c8 1 parent 7c7dbdb commit b08b8c8 Copy full SHA for b08b8c8
File tree 1 file changed +9
-1
lines changed
xmtp_mls/src/storage/encrypted_store
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ impl DbConnection {
197
197
staged_commit : Option < Vec < u8 > > ,
198
198
published_in_epoch : i64 ,
199
199
) -> Result < ( ) , StorageError > {
200
+ let payload_hash_clone = payload_hash. clone ( ) ;
200
201
let res = self . raw_query ( |conn| {
201
202
diesel:: update ( dsl:: group_intents)
202
203
. filter ( dsl:: id. eq ( intent_id) )
@@ -222,7 +223,14 @@ impl DbConnection {
222
223
0 => Err ( StorageError :: NotFound ( format ! (
223
224
"ToPublish intent {intent_id} for publish"
224
225
) ) ) ,
225
- _ => Ok ( ( ) ) ,
226
+ _ => {
227
+ tracing:: info!( "Set intent {intent_id} to published" ) ;
228
+ tracing:: info!(
229
+ "intent {intent_id} that was just saved to DB has payload_hash: {:?}" ,
230
+ payload_hash_clone
231
+ ) ;
232
+ Ok ( ( ) )
233
+ }
226
234
}
227
235
}
228
236
You can’t perform that action at this time.
0 commit comments