Commit fae0e52a authored by Matt Traudt's avatar Matt Traudt Committed by Matt Traudt
Browse files

Also catch ProtocolError

parent e6c86096
from stem import (CircuitExtensionFailed, InvalidRequest)
from stem import (CircuitExtensionFailed, InvalidRequest, ProtocolError)
import random
import sbws.util.stem as stem_utils
from .relaylist import RelayList
......@@ -85,7 +85,8 @@ class CircuitBuilder:
for _ in range(0, 3):
circ_id = c.new_circuit(path, await_build=True)
except (InvalidRequest, CircuitExtensionFailed) as e:
except (InvalidRequest, CircuitExtensionFailed,
ProtocolError) as e:
Supports Markdown
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