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

poor error message #71

Open
Anniepoo opened this issue Jul 20, 2017 · 0 comments
Open

poor error message #71

Anniepoo opened this issue Jul 20, 2017 · 0 comments

Comments

@Anniepoo
Copy link
Member

Failing static sandbox safety analysis is a common enough occurance that it deserves a better error message than the obscure

Arguments are not sufficiently instantiated
Reachable from:
'$swish wrapper'(A,B)

Can we have the print_message system detect this specific case and put a well worded English warning?

See

SWI-Prolog/packages-pengines#29

Something like
"We're unable to execute your query because we're not sure it won't harm the server. For example, if you queried halt, you would stop the server. Sometimes perfectly innocent queries do this, and our system's just not smart enough to know they're safe."

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