mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	MeasurePlugin: Log error code when loading plugin fails
This commit is contained in:
		@@ -141,7 +141,9 @@ void MeasurePlugin::ReadOptions(ConfigParser& parser, const WCHAR* section)
 | 
			
		||||
		}
 | 
			
		||||
		if (!m_Plugin)
 | 
			
		||||
		{
 | 
			
		||||
			LogErrorF(this, L"Plugin: \"%s\" not found", pluginName.c_str());
 | 
			
		||||
			LogErrorF(
 | 
			
		||||
				this, L"Plugin: Unable to load \"%s\" (error %ld)",
 | 
			
		||||
				pluginName.c_str(), GetLastError());
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user