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

1327179: Check proxy configuration at GUI startup #1414

Merged
merged 1 commit into from Jul 18, 2016
Merged

Conversation

wottop
Copy link
Member

@wottop wottop commented May 3, 2016

Reports an error on the command line and log and then exits.

Reports an error on the command line and log and then exits.
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.settimeout(10)
result = s.connect_ex((cfg.get("server", "proxy_hostname"), int(cfg.get("server", "proxy_port") or config.DEFAULT_PROXY_PORT)))
except Exception as e:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need a catch all here? Is there no way to be more specific?

@cnsnyder cnsnyder self-assigned this Jul 8, 2016
@cnsnyder
Copy link
Member

After talking with wottop this makes more sense. Merging.

@cnsnyder cnsnyder merged commit ae8b3a0 into master Jul 18, 2016
@wottop wottop deleted the wottop/1327179 branch August 11, 2016 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants