feat: log on meta conf not found
This commit is contained in:
parent
d8ed5809cb
commit
6456a64bca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user