diff options
| author | historia <[not public]> | 2026-07-01 02:21:42 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-01 02:21:42 -0400 |
| commit | 5f37dc9b6f6b79da04da70ae0c33ec8d02998587 (patch) | |
| tree | f7c309e36267a4c456fcf5bca800e614507a80af /internal/admin/yaml_util.go | |
| parent | fee376102192dc6f24297a7b11324636ace3a07d (diff) | |
| download | thehouseoficarus-5f37dc9b6f6b79da04da70ae0c33ec8d02998587.tar.gz | |
feat: qol improvements to items crud in admin gui
Diffstat (limited to 'internal/admin/yaml_util.go')
| -rw-r--r-- | internal/admin/yaml_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/admin/yaml_util.go b/internal/admin/yaml_util.go index 0bc2b4a..4d0a814 100644 --- a/internal/admin/yaml_util.go +++ b/internal/admin/yaml_util.go @@ -145,7 +145,7 @@ func listYAMLFilesDeep(dataDir, subdir string) ([]string, error) { func backupFile(path string) []byte { data, err := os.ReadFile(path) if err != nil { - log.Printf("backup: failed to read %s: %v", path, err) + log.Printf("backup: WARNING failed to read %s: %v (undo will not be able to restore this file)", path, err) return nil } return data |
