mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-17 23:52:49 +01:00
relay: catch RuntimeError in spawnRelayServer as well
This is raised when a network runs out of SIDs, for example.
This commit is contained in:
parent
b5cf2e8a4e
commit
dcacfb0c10
@ -224,7 +224,7 @@ def spawn_relay_server(irc, remoteirc):
|
||||
desc="PyLink Relay network - %s" %
|
||||
(remoteirc.serverdata.get('netname')\
|
||||
or remoteirc.name), endburst_delay=3)
|
||||
except ValueError: # Network not initialized yet, or a server name conflict.
|
||||
except (RuntimeError, ValueError): # Network not initialized yet, or a server name conflict.
|
||||
log.exception('(%s) Failed to spawn server for %r (possible jupe?):',
|
||||
irc.name, remoteirc.name)
|
||||
# We will just bail here. Disconnect the bad network.
|
||||
|
Loading…
Reference in New Issue
Block a user