From 152cdd848a41109819d890560d26270bd08c12ae Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 21 Jul 2015 18:21:52 +0200 Subject: [PATCH] imp(cli): pretty-print errors in debug mode --- src/mako/cli/main.rs.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mako/cli/main.rs.mako b/src/mako/cli/main.rs.mako index 3149e59ca4d..ed3be114e36 100644 --- a/src/mako/cli/main.rs.mako +++ b/src/mako/cli/main.rs.mako @@ -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(); }