Commit c6288537 authored by Sebastien Robin's avatar Sebastien Robin

erp5.util.testnode: slapos use it's own ConnectionError

parent f7319ec9
......@@ -32,7 +32,7 @@ import time
import shutil
import logging
import Utils
from requests.exceptions import RequestException
from slapos.slap.slap import ConnectionError
import traceback
......@@ -437,8 +437,8 @@ from the distributor.")
# break the loop to get latest priorities from master
except (SubprocessError, CalledProcessError, RequestException) as e:
log("SubprocessError or RequestException : %r" % (e,), exc_info=sys.exc_info())
except (SubprocessError, CalledProcessError, ConnectionError) as e:
log("SubprocessError or ConnectionError : %r" % (e,), exc_info=sys.exc_info())
if remote_test_result_needs_cleanup:
status_dict = e.status_dict or {}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment