Skip to content

Commit

Permalink
Show subscription errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rmburg committed May 1, 2024
1 parent 8b30251 commit db0c0ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/twix/src/panels/enum_plot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,12 @@ impl SegmentData {
self.change_buffer = match CyclerOutput::from_str(&self.output_key) {
Ok(output) => {
let buffer = nao.subscribe_changes(output);
self.last_error = None;
Some(buffer)
}
Err(error) => {
error!("Failed to subscribe: {:#}", error);
self.last_error = Some(error.to_string());
None
}
};
Expand Down

0 comments on commit db0c0ac

Please sign in to comment.