mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-14 22:04:19 +01:00
fix issue where columns fail to load on first failure
This fixes an issue where if one of the columns fail to load, all other columns fail to load. This is because we are too aggressive with the early exit on failure. To reproduce: $ notedeck --dbpath what With existing columns in an existing data path. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -580,7 +580,9 @@ pub fn setup_initial_nostrdb_subs(
|
||||
columns: &mut Columns,
|
||||
) -> Result<()> {
|
||||
for timeline in columns.timelines_mut() {
|
||||
setup_timeline_nostrdb_sub(ndb, note_cache, timeline)?;
|
||||
if let Err(err) = setup_timeline_nostrdb_sub(ndb, note_cache, timeline) {
|
||||
error!("setup_initial_nostrdb_subs: {err}");
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user