log plugin errors
This commit is contained in:
parent
fe568cd37c
commit
2eb0baaca1
6 changed files with 25 additions and 15 deletions
|
|
@ -75,7 +75,7 @@ func InitWindowsPlugin() (Plugin, error) {
|
|||
p.userDLL = syscall.NewLazyDLL("user32.dll")
|
||||
p.sendInputProc = p.userDLL.NewProc("SendInput")
|
||||
if err := p.sendInputProc.Find(); err != nil {
|
||||
return nil, UnsupportedPlatformError{"Windows", err.Error()}
|
||||
return nil, UnsupportedPlatformError{err}
|
||||
}
|
||||
return p, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue