Skip to content

Commit

Permalink
bail on missing symbolizer
Browse files Browse the repository at this point in the history
  • Loading branch information
dshulyak committed Jul 14, 2024
1 parent 70fb750 commit 0889c61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions past/src/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,7 @@ impl Symbolizer for BlazesymSymbolizer {
None => {
// if process exits at the same time when batch is written we may lose several
// events that are emitted after receiving close event.
debug!("symbolizer for tgid={} was dropped before event is collected", tgid);
return Ok(vec![]);
anyhow::bail!("missing symbolizer for tgid={}", tgid);
}
};
let rst = symbolizer.symbolize(
Expand Down

0 comments on commit 0889c61

Please sign in to comment.