Show exceptions by default and add `handle_exception' parameter to Connection.
This commit is contained in:
1 parent
115693f8c3
commit
d72f05c8b0
2 files changed
+30
-4
No files matched your search
@@ -24,7 +24,8 @@ class _ConnectTest(unittest.TestCase):
|
||||
addr, port = server.listen_socket.getsockname()
|
||||
|
||||
client = connection.Connection(
|
||||
addr, port, username='User', initial_version=client_version)
|
||||
addr, port, username='User', initial_version=client_version,
|
||||
handle_exception=False)
|
||||
client.register_packet_listener(
|
||||
lambda packet: logging.debug('[ ->C] %s' % packet), packets.Packet)
|
||||
|
||||
|
||||
Reference in new issue
Block a user