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

[v2] Missing error message when resolver is not set #48

Closed
jmprusi opened this issue Sep 7, 2016 · 1 comment
Closed

[v2] Missing error message when resolver is not set #48

jmprusi opened this issue Sep 7, 2016 · 1 comment

Comments

@jmprusi
Copy link
Contributor

jmprusi commented Sep 7, 2016

We should output the error message from this part:
https://github.com/3scale/docker-gateway/blob/v2/src/configuration.lua#L232-L241

We should get a more descriptive message like this:

2016/09/07 22:24:40 [error] 24#24: *1 lua entry thread aborted: runtime error: 
/opt/app/src/configuration.lua:243: no resolver defined to resolve "3scaletesting-admin.3scale.net"

instead of:
2016/09/07 22:16:22 [error] 23#23: *1 lua entry thread aborted: runtime error: /opt/app/src/configuration.lua:193: missing configuration

@mikz
Copy link
Contributor

mikz commented Sep 8, 2016

@mikz mikz closed this as completed Sep 8, 2016
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

2 participants