Skip to content

Commit

Permalink
fix node updater (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
prybalko authored Nov 13, 2023
1 parent 6883e61 commit 154fb03
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cli/src/updater/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ pub(crate) fn update_from_node(config: AppConfig, fetcher: impl Fetcher) -> anyh
is_changed = true;
}

let fetched_meta = fetcher.fetch_metadata(&chain)?;
info!("🔍 Checking for updates for {}", chain.name);
let fetched_meta = match fetcher.fetch_metadata(&chain) {
Ok(meta) => meta,
Err(e) => {
warn!("🤨 Failed to fetch metadata: {:?}", e);
continue;
}
};
let version = fetched_meta.meta_values.version;

// Skip if already have QR for the same version
Expand Down

0 comments on commit 154fb03

Please sign in to comment.