Skip to content

Commit

Permalink
remove unnecessary crash
Browse files Browse the repository at this point in the history
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Nov 15, 2024
1 parent 01bedac commit 4d124c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,13 @@ fn update_damus(damus: &mut Damus, ctx: &egui::Context) {
damus
.subscriptions()
.insert("unknownids".to_string(), SubKind::OneShot);
timeline::setup_initial_nostrdb_subs(
if let Err(err) = timeline::setup_initial_nostrdb_subs(
&damus.ndb,
&mut damus.note_cache,
&mut damus.columns,
)
.expect("home subscription failed");
) {
warn!("update_damus init: {err}");
}
}

DamusState::Initialized => (),
Expand Down

0 comments on commit 4d124c0

Please sign in to comment.