Skip to content

Commit 9c9a80a

Browse files
committed
render whole error message
This breaks the layout style, but at least we get more info on what failed. Related to #51.
1 parent 6a9f33a commit 9c9a80a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ impl diag::DiagnosableError for RTICScopeError {
180180

181181
impl RTICScopeError {
182182
pub fn render(&self) {
183-
log::err(format!("{}", self));
183+
log::err(format!("{:?}", self));
184184

185185
// print eventual hints
186186
use crate::diag::DiagnosableError;

0 commit comments

Comments
 (0)