improved hook lib load fail error a little
This commit is contained in:
parent
417abb99fe
commit
a8ce3418fe
|
@ -39,7 +39,7 @@ CMSWindowsHookLibraryLoader::openHookLibrary(const char* name)
|
||||||
// load the hook library
|
// load the hook library
|
||||||
HINSTANCE hookLibrary = LoadLibrary(name);
|
HINSTANCE hookLibrary = LoadLibrary(name);
|
||||||
if (hookLibrary == NULL) {
|
if (hookLibrary == NULL) {
|
||||||
LOG((CLOG_ERR "failed to load hook library, %s.dll is missing", name));
|
LOG((CLOG_ERR "failed to load hook library, %s.dll is missing or invalid", name));
|
||||||
throw XScreenOpenFailure();
|
throw XScreenOpenFailure();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue