Report structured session validation and inspection results
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user