mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 17:37:41 +02:00
improved hook lib load fail error a little
This commit is contained in:
parent
417abb99fe
commit
a8ce3418fe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue