🎨 Add plugin incompatible logging

This commit is contained in:
Daniel 2023-12-27 08:43:52 +08:00
parent c1ea2c79e8
commit 4fdaae2892
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -63,6 +63,7 @@ func SetPetalEnabled(name string, enabled bool, frontend string) (ret *Petal, er
if incompatible {
err = fmt.Errorf(Conf.Language(205))
logging.LogInfof("plugin [%s] is incompatible [%s]", name, frontend)
return
}