fix: unknown directive ''

This commit is contained in:
0xJacky 2024-01-14 23:48:57 +08:00
parent e093d9276c
commit 70c89b794e
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
3 changed files with 7 additions and 4 deletions

View file

@ -72,7 +72,7 @@ func GetTemplateInfo(path, name string) (configListItem ConfigInfoItem) {
_, err = toml.Decode(content, &configListItem)
if err != nil {
logger.Error(err)
logger.Error(name, err)
}
return
}