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) { | func parseMetaConfFile(path string) (metaConf MetaConf, err error) { | ||||||
| 	// FIXME: remove this default meta config, it is only for demonstration
 | 	// FIXME: remove this default meta config, it is only for demonstration
 | ||||||
| 	if _, err := os.Stat(path); errors.Is(err, os.ErrNotExist) { | 	if _, err := os.Stat(path); errors.Is(err, os.ErrNotExist) { | ||||||
|  | 		slog.Debug("meta conf not found", "path", path) | ||||||
| 		return MetaConf{ | 		return MetaConf{ | ||||||
| 			Patterns: []struct { | 			Patterns: []struct { | ||||||
| 				Filename string | 				Filename string | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user