Skip to content

Commit bfa5ce0

Browse files
zaneduffieldjgardn3r
authored andcommitted
Use debug formatting when printing IO errors
The Debug format is required to get the full anyhow context/backtrace.
1 parent bafab41 commit bfa5ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchestrator/src/file_formatter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl FileFormatter {
141141
)
142142
.map(|res| {
143143
if let Err(e) = &res {
144-
error!("{}", e)
144+
error!("{:?}", e)
145145
};
146146
res
147147
})

0 commit comments

Comments
 (0)