Skip to content

KPluginFactory: Provide better context in error message if instance could not be created

Alexander Lohnau requested to merge work/alex/better_message into master

This error message means that the plugin could be loaded, but the factory could not contain the wanted class. In case plugins have multiple classes registered, having the class name in the error message provides better context to what instance exactly could not be created.

This might be useful for debugging bugs like 454335.

@ahmadsamir @vkrause

Merge request reports