mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 18:14:11 +02:00
fix backtrace
This commit is contained in:
parent
7b8e8ec6cb
commit
dc81fc18d4
1 changed files with 2 additions and 2 deletions
|
|
@ -73,9 +73,9 @@ pub fn render_exception(exception: &FullException) -> ScrollbarTable {
|
||||||
|
|
||||||
fn exception_trace(exception: &FullException) -> impl Iterator<Item = Row> + '_ {
|
fn exception_trace(exception: &FullException) -> impl Iterator<Item = Row> + '_ {
|
||||||
let exception_row = Row::new([
|
let exception_row = Row::new([
|
||||||
Text::from(""),
|
|
||||||
Text::from(exception.line.to_string()).alignment(Alignment::Right),
|
|
||||||
Text::from(exception.file.as_str()),
|
Text::from(exception.file.as_str()),
|
||||||
|
Text::from(exception.line.to_string()).alignment(Alignment::Right),
|
||||||
|
Text::from(""),
|
||||||
])
|
])
|
||||||
.style(TABLE_HEADER_STYLE);
|
.style(TABLE_HEADER_STYLE);
|
||||||
let trace_rows = exception.trace.iter().map(trace_line);
|
let trace_rows = exception.trace.iter().map(trace_line);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue