log plugin errors

This commit is contained in:
Unrud 2018-07-31 20:19:05 +02:00
parent fe568cd37c
commit 2eb0baaca1
6 changed files with 25 additions and 15 deletions

View file

@ -21,6 +21,8 @@
package main
import "errors"
func InitX11Plugin() (Plugin, error) {
return nil, UnsupportedPlatformError{"X11", "disabled"}
return nil, UnsupportedPlatformError{errors.New("disabled")}
}