Skip to content

Commit

Permalink
refactor: log errors with {:#}
Browse files Browse the repository at this point in the history
even though it's a std::io::Error

Co-authored-by: Christian Schwarz <christian@neon.tech>
  • Loading branch information
koivunej and problame committed May 11, 2023
1 parent 6d3be4c commit 0b42ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pageserver/src/tenant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ impl Tenant {
}
Err(e) => {
warn!(
"failed to remove local timeline directory {}: {e}",
"failed to remove local timeline directory {}: {e:#}",
local_timeline_directory.display()
);
return Err(
Expand Down

0 comments on commit 0b42ba9

Please sign in to comment.