diff --git a/insteon/api.py b/insteon/api.py
index <HASH>..<HASH> 100644
--- a/insteon/api.py
+++ b/insteon/api.py
@@ -69,6 +69,7 @@ class InsteonAPI(object):
                         payload = decoded_line.split(': ')
                         self._handle_stream_message(payload[0], payload[1], devices_to_watch)
         except:
+            print(e)
             if response != None:
                 response.connection.close()
Added print for debugging errors