Skip to content

dirmgr: Handle errors in download_mds()

George Kadianakis requested to merge asn/arti:download_mds_errors into main

Another silly MR handling errors.

One question about the code that might warrant some extra documentation: a) How come we create an MicrodescReader with AnnotationsNotAllowed only later to iterate over its annotations?

A question about the MR:

  1. Are there more graceful ways to handle these errors instead of additional if blocks? We tried to do it with unwrap_or_else() but couldn't figure out how to do it because the closure had to return a vector.

Merge request reports