From 0ce116e53b97ea9c6b51064267688d0ae2092c0a Mon Sep 17 00:00:00 2001 From: Tommie Gannert Date: Sun, 29 Dec 2024 13:34:51 +0100 Subject: [PATCH] Increase temporary logging. --- syncserver/src/web/transaction.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/syncserver/src/web/transaction.rs b/syncserver/src/web/transaction.rs index fe55f660df..8f82565ff7 100644 --- a/syncserver/src/web/transaction.rs +++ b/syncserver/src/web/transaction.rs @@ -65,7 +65,12 @@ impl DbTransactionPool { // Handle lock error if let Err(e) = result { - info!("transaction_internal error {}", e); + warn!( + "transaction_internal error {} {}: {}", + self.collection.is_some(), + self.is_read, + e + ); // Update the extra info fields. set_extra(&request, db.get_connection_info()); db.rollback().await?;