# HG changeset patch # User Marcin Kuzminski # Date 2018-08-05 22:13:28 # Node ID 2f16baeeb2b3715797c9d8cb2f472e2c04863576 # Parent b78f7b39581a57898b6de0f440ab92ad9bb59911 http-client: improve exceptions diff --git a/rhodecode/lib/vcs/client_http.py b/rhodecode/lib/vcs/client_http.py --- a/rhodecode/lib/vcs/client_http.py +++ b/rhodecode/lib/vcs/client_http.py @@ -198,7 +198,7 @@ def _remote_call(url, payload, exception try: response = session.post(url, data=msgpack.packb(payload)) except pycurl.error as e: - msg = '{}. pycurl traceback: {}'.format(e, traceback.format_exc()) + msg = '{}. \npycurl traceback: {}'.format(e, traceback.format_exc()) raise exceptions.HttpVCSCommunicationError(msg) except Exception as e: message = getattr(e, 'message', '')