Skip to content

Commit

Permalink
Increase temporary logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommie committed Dec 29, 2024
1 parent 36194a0 commit 0ce116e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion syncserver/src/web/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down

0 comments on commit 0ce116e

Please sign in to comment.