From 9c9a80af4550545880e2cf33daec001dd41e67d5 Mon Sep 17 00:00:00 2001 From: Viktor Sonesten Date: Wed, 27 Oct 2021 05:19:57 +0200 Subject: [PATCH] render whole error message This breaks the layout style, but at least we get more info on what failed. Related to #51. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ce9a645..3130361 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,7 +180,7 @@ impl diag::DiagnosableError for RTICScopeError { impl RTICScopeError { pub fn render(&self) { - log::err(format!("{}", self)); + log::err(format!("{:?}", self)); // print eventual hints use crate::diag::DiagnosableError;