From 62a97bf4ffc07be0cd12043f420b4799d472778c Mon Sep 17 00:00:00 2001 From: Pavla Kratochvilova Date: Mon, 12 Feb 2024 09:55:25 +0100 Subject: [PATCH] modules: Make the error to resolve module metadata more descriptive --- libdnf5/module/module_metadata.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdnf5/module/module_metadata.cpp b/libdnf5/module/module_metadata.cpp index a30dd505c..2423db002 100644 --- a/libdnf5/module/module_metadata.cpp +++ b/libdnf5/module/module_metadata.cpp @@ -126,7 +126,8 @@ void ModuleMetadata::resolve_added_metadata() { resulting_module_index = modulemd_module_index_merger_resolve(module_merger, &error); if (error && !resulting_module_index) { throw ModuleResolveError( - M_("Failed to resolve: {}"), (error->message) ? std::string(error->message) : "Unknown error"); + M_("Failed to resolve module metadata: {}"), + (error->message) ? std::string(error->message) : "Unknown error"); } if (error) { auto & logger = *base->get_logger();