The plugins libdnf_plugin_new_instance
and dnf5_plugin_new_instance
API functions discard exceptions
#2047
Labels
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
The
libdnf_plugin_new_instance
anddnf5_plugin_new_instance
functions return a null pointer if the instantiation of the plugin fails. The exception with failure information is discarded. Thus, the caller (libdnf library or dnf5 application) will not know the reason for the failure.The above functions are linked as "C" functions. It is necessary to provide caller access to the exception.
The text was updated successfully, but these errors were encountered: