Skip to content

Commit

Permalink
imp(cli): pretty-print errors in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 21, 2015
1 parent e465359 commit 152cdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/cli/main.rs.mako
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn main() {
},
DoitError::ApiError(err) => {
if debug {
writeln!(io::stderr(), "{:?}", err).ok();
writeln!(io::stderr(), "{:#?}", err).ok();
} else {
writeln!(io::stderr(), "{}", err).ok();
}
Expand Down

0 comments on commit 152cdd8

Please sign in to comment.