Minor fixes
Addressed review comments and included README
Change-Id: Idd3e0cec03eca280a93fff8244f5f885b2322239
diff --git a/ofagent/agent.py b/ofagent/agent.py
index 626e105..d2ecd0c 100644
--- a/ofagent/agent.py
+++ b/ofagent/agent.py
@@ -98,8 +98,8 @@
                ctx = clientCert.options()
                self.connector = reactor.connectSSL(host, port, self, ctx)
 
-            except Exception as error:
-                log.error(event, reason=reason)
+            except Exception as e:
+                log.exception('failed-to-connect', reason=e)
 
 
             self.d_disconnected = Deferred()