Fixing issue in exception handling while loading convenience methods
Change-Id: I55009d78284c53a84a30e86ab5d26fda919ee685
diff --git a/xos/xos_client/xosapi/orm.py b/xos/xos_client/xosapi/orm.py
index 7869184..4f46e0c 100644
--- a/xos/xos_client/xosapi/orm.py
+++ b/xos/xos_client/xosapi/orm.py
@@ -633,7 +633,7 @@
log.debug("Loading: %s" % file)
imp.load_source(file[:-3], pathname)
except Exception, e:
- log.error("Cannot import api convenience method for: %s, %s", (file[:-3], pathname))
+ log.exception("Cannot import api convenience method for: %s, %s" % (file[:-3], pathname))
# import convenience.addresspool