Commit 9cf4ccac authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_tiosafe_core: Fixup renamed exception on WebServiceTool

parent df87698e
Pipeline #38615 failed with stage
in 0 seconds
...@@ -38,7 +38,7 @@ except ImportError: ...@@ -38,7 +38,7 @@ except ImportError:
# pylint:enable=no-name-in-module # pylint:enable=no-name-in-module
from lxml import etree from lxml import etree
from zLOG import LOG, ERROR, INFO from zLOG import LOG, ERROR, INFO
from erp5.component.tool.WebServiceTool import ConnectionError from erp5.component.tool.WebServiceTool import WebServiceConnectionError
from Products.ERP5Type.Cache import CachingMethod from Products.ERP5Type.Cache import CachingMethod
import six import six
...@@ -193,7 +193,7 @@ class WebServiceRequest(XMLObject, ZopePageTemplate): ...@@ -193,7 +193,7 @@ class WebServiceRequest(XMLObject, ZopePageTemplate):
# Call the method # Call the method
try: try:
url, xml = callRequest(self, method_name, *args, **kw) url, xml = callRequest(self, method_name, *args, **kw)
except ConnectionError as msg: except WebServiceConnectionError as msg:
if test_mode: if test_mode:
error = msg error = msg
url = connection.url url = connection.url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment