Skip to content

Commit d91575d

Browse files
committed
Fix background processor log formatting
Rustfmt is not always processing macros.
1 parent aeaf1eb commit d91575d

File tree

1 file changed

+2
-5
lines changed
  • lightning-background-processor/src

1 file changed

+2
-5
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ impl BackgroundProcessor {
14921492
NETWORK_GRAPH_PERSISTENCE_KEY,
14931493
&network_graph.encode(),
14941494
) {
1495-
log_error!(logger, "Error: Failed to persist network graph, check your disk and permissions {}",e);
1495+
log_error!(logger, "Error: Failed to persist network graph, check your disk and permissions {}", e);
14961496
}
14971497
have_pruned = true;
14981498
}
@@ -1521,10 +1521,7 @@ impl BackgroundProcessor {
15211521
SCORER_PERSISTENCE_KEY,
15221522
&scorer.encode(),
15231523
) {
1524-
log_error!(logger,
1525-
"Error: Failed to persist scorer, check your disk and permissions {}",
1526-
e,
1527-
);
1524+
log_error!(logger, "Error: Failed to persist scorer, check your disk and permissions {}", e);
15281525
}
15291526
}
15301527
last_scorer_persist_call = Instant::now();

0 commit comments

Comments
 (0)