Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If-diff unhandled error -> Error: ENOENT: no such file or directory #733

Closed
MariamKhalatova opened this issue May 21, 2024 · 1 comment
Closed
Assignees
Labels
bug Error, flaw or fault

Comments

@MariamKhalatova
Copy link
Contributor

Description of the Error

When input file path is incorrect, unhandled error is thrown.

[Error: ENOENT: no such file or directory, open '/Users/mariamkhalatova/Projects/UK/if/manifest/outputs/basic.yaml'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/mariamkhalatova/Projects/UK/if/manifest/outputs/basic.yaml'
}

Expected Behaviour

ReadFileError: Provided Input file path is invalid.

Actual Behaviour

[Error: ENOENT: no such file or directory, open '/Users/mariamkhalatova/Projects/UK/if/manifest/outputs/basic.yaml'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/mariamkhalatova/Projects/UK/if/manifest/outputs/basic.yaml'
}

Steps to Reproduce

  1. Run if-diff script with invalid source or target path.
@MariamKhalatova MariamKhalatova added bug Error, flaw or fault qa labels May 21, 2024
@MariamKhalatova MariamKhalatova self-assigned this May 28, 2024
@MariamKhalatova
Copy link
Contributor Author

Screenshot 2024-05-28 at 12 24 00 PM

Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Error, flaw or fault
Projects
Status: Done
Development

No branches or pull requests

1 participant