Report structured session validation and inspection results

This commit is contained in:
2026-11-20 05:23:32 +00:00
parent 97cced5d88
commit e44247b5b1
12 changed files with 730 additions and 210 deletions

View File

@@ -280,7 +280,7 @@ func requireInspectionFile(path, label string) error {
info, err := os.Stat(path)
if err != nil {
if os.IsNotExist(err) {
return fmt.Errorf("%s %q does not exist", label, path)
return fmt.Errorf("%s %q does not exist: %w", label, path, err)
}
return fmt.Errorf("stat %s %q: %w", label, path, err)
}