feat: log on meta conf not found

This commit is contained in:
张泊明518370910136 2024-10-01 01:41:44 -04:00
parent d8ed5809cb
commit 6456a64bca
GPG Key ID: D47306D7062CDA9D

View File

@ -75,6 +75,7 @@ type MetaConf struct {
func parseMetaConfFile(path string) (metaConf MetaConf, err error) {
// FIXME: remove this default meta config, it is only for demonstration
if _, err := os.Stat(path); errors.Is(err, os.ErrNotExist) {
slog.Debug("meta conf not found", "path", path)
return MetaConf{
Patterns: []struct {
Filename string