Skip to content

Commit

Permalink
Merge pull request #292 from rainlanguage/2024-09-12-partial-traces
Browse files Browse the repository at this point in the history
Partial traces
  • Loading branch information
thedavidmeister authored Sep 13, 2024
2 parents afd4425 + 6e90c7d commit cd76811
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/eval/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ impl RainSourceTraces {
}
})
})
.ok_or(RainEvalResultError::CorruptTraces)?
.unwrap_or(format!(
"{}?.{}",
trace.parent_source_index, trace.source_index
))
};

for (index, _) in trace.stack.iter().enumerate() {
Expand Down

0 comments on commit cd76811

Please sign in to comment.