summaryrefslogtreecommitdiffstats
path: root/ogclient
diff options
context:
space:
mode:
Diffstat (limited to 'ogclient')
-rwxr-xr-xogclient4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogclient b/ogclient
index a83b9ed..b302641 100755
--- a/ogclient
+++ b/ogclient
@@ -20,7 +20,7 @@ except ImportError:
from src.ogClient import *
-from src.log import configure_logging
+from src.log import *
def send_event_dgram(msg, ip='127.0.0.1', port=55885):
@@ -92,7 +92,7 @@ def main():
client = ogClient(config=CONFIG)
client.connect()
client.run()
- except Exception as e:
+ except OgError as e:
logging.critical(e)
if __name__ == "__main__":