diff --git a/src/libfetchers/registry.cc b/src/libfetchers/registry.cc index 84f0fe4a2..77d3b3378 100644 --- a/src/libfetchers/registry.cc +++ b/src/libfetchers/registry.cc @@ -60,6 +60,8 @@ std::shared_ptr Registry::read( } catch (nlohmann::json::exception & e) { warn("cannot parse flake registry '%s': %s", path, e.what()); + } catch (Error & e) { + warn("cannot read flake registry '%s': %s", path, e.what()); } return registry;