diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest_channels.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_channels.py b/lldb/packages/Python/lldbsuite/test/dotest_channels.py index 7c182291871..d2faf10c892 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest_channels.py +++ b/lldb/packages/Python/lldbsuite/test/dotest_channels.py @@ -140,13 +140,12 @@ class UnpicklingForwardingReaderChannel(asyncore.dispatcher): print( "\nINFO: received socket error when reading data " "from test inferior:\n{}".format(socket_error)) - # Should be good to return here. - return + raise except Exception as general_exception: print( "\nERROR: received non-socket error when reading data " "from the test inferior:\n{}".format(general_exception)) - return + raise # Consume the message content. while data and (len(data) > 0): |