projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MON vROPs plugin updates -
[osm/MON.git]
/
plugins
/
OpenStack
/
common.py
diff --git
a/plugins/OpenStack/common.py
b/plugins/OpenStack/common.py
index
eed122d
..
fe72acc
100644
(file)
--- a/
plugins/OpenStack/common.py
+++ b/
plugins/OpenStack/common.py
@@
-21,7
+21,8
@@
##
"""Common methods for the OpenStack plugins."""
##
"""Common methods for the OpenStack plugins."""
-import logging as log
+import logging
+log = logging.getLogger(__name__)
from keystoneclient.v3 import client
from keystoneclient.v3 import client
@@
-102,5
+103,8
@@
class Common(object):
except Exception as e:
log.warn("Exception thrown on request", e)
except Exception as e:
log.warn("Exception thrown on request", e)
+ if response is not None:
+ log.warn("Request resulted in %s code and %s response",
+ response.status_code, response.text)
return response
return response