mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Add plugin incompatible logging
This commit is contained in:
parent
c1ea2c79e8
commit
4fdaae2892
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ func SetPetalEnabled(name string, enabled bool, frontend string) (ret *Petal, er
|
||||||
|
|
||||||
if incompatible {
|
if incompatible {
|
||||||
err = fmt.Errorf(Conf.Language(205))
|
err = fmt.Errorf(Conf.Language(205))
|
||||||
|
logging.LogInfof("plugin [%s] is incompatible [%s]", name, frontend)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue