Skip to content

Commit

Permalink
preserve non-JSON lines during normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 7, 2019
1 parent 3e99253 commit 71f940f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String {
}
}
} else {
None
// preserve non-JSON lines, such as ICEs
Some(format!("{}\n", line))
}
})
.collect()
Expand Down

0 comments on commit 71f940f

Please sign in to comment.