aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index 8fba5b5..5c771af 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -150,6 +150,9 @@ class GsxError(Exception):
self.codes = []
self.messages = []
+ if isinstance(message, basestring):
+ self.messages.append(message)
+
if xml is not None:
logging.debug(url)
logging.debug(xml)