Skip to content

Commit

Permalink
modules: Make the error to resolve module metadata more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
pkratoch committed Mar 4, 2024
1 parent a31446b commit bd93a05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libdnf5/module/module_metadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit bd93a05

Please sign in to comment.