Skip to content

Commit

Permalink
fix invalid Exception e.msg
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Sep 29, 2021
1 parent b5eb38b commit 24baba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywps/app/WPSRequest.py
Expand Up @@ -87,7 +87,7 @@ def _post_request(self):
try:
doc = etree.fromstring(self.http_request.get_data())
except Exception as e:
raise NoApplicableCode(e.msg)
raise NoApplicableCode(str(e))

operation = doc.tag
version = get_version_from_ns(doc.nsmap[doc.prefix])
Expand Down

0 comments on commit 24baba5

Please sign in to comment.