GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit cb6a8a76 authored by juga  's avatar juga

fix: stem: Add possible exception cause

parent f7847ed2
Pipeline #2071 passed with stage
in 68 minutes and 55 seconds
......@@ -181,9 +181,12 @@ def set_torrc_options_can_fail(controller):
for k, v in TORRC_OPTIONS_CAN_FAIL.items():
try:
controller.set_conf(k, v)
except InvalidArguments as error:
except (InvalidArguments, InvalidRequest) as error:
log.debug('Ignoring option not supported by this Tor version. %s',
error)
except ControllerError as e:
log.exception(e)
exit(1)
def launch_tor(conf):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment