1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00

configuration fix

This commit is contained in:
stefanocasazza 2018-10-20 16:45:10 +02:00
parent 34ed3bca85
commit 783b7b7bc9

View File

@ -2810,6 +2810,13 @@ int UServer_Base::loadPlugins(UString& plugin_dir, const UString& plugin_list)
if (result == U_PLUGIN_HANDLER_ERROR)
{
if (pcfg->empty())
{
U_SRV_LOG("WARNING: Configuration of plugin %V empty", item.rep);
continue;
}
U_SRV_LOG("WARNING: Configuration phase of plugin %V failed", item.rep);
U_RETURN(U_PLUGIN_HANDLER_ERROR);