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

More details on errors from command line #127

Closed
timothyhinrichs opened this issue Oct 31, 2016 · 0 comments
Closed

More details on errors from command line #127

timothyhinrichs opened this issue Oct 31, 2016 · 0 comments

Comments

@timothyhinrichs
Copy link
Member

It'd be great if OPA could give more informative error messages when loading data from files. Below is the current behavior, where there's a problem with the bar.json file. If the error message could include the file that generated the error, that'd be helpful.

$ ./opa_darwin_amd64 run foo.rego bar.json baz.json
invalid character '}' looking for beginning of object key string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant