Show More
@@ -29,7 +29,7 b' from pyramid.httpexceptions import HTTPN' | |||
|
29 | 29 | from rhodecode.lib import rc_cache |
|
30 | 30 | from rhodecode.lib.middleware import simplevcs |
|
31 | 31 | from rhodecode.lib.utils import is_valid_repo |
|
32 | from rhodecode.lib.utils2 import str2bool, safe_int | |
|
32 | from rhodecode.lib.utils2 import str2bool, safe_int, safe_str | |
|
33 | 33 | from rhodecode.lib.ext_json import json |
|
34 | 34 | from rhodecode.lib.hooks_daemon import store_txn_id_data |
|
35 | 35 | |
@@ -98,7 +98,8 b' class SimpleSvnApp(object):' | |||
|
98 | 98 | raise |
|
99 | 99 | |
|
100 | 100 | if response.status_code not in [200, 401]: |
|
101 | text = '\n{}'.format(response.text) if response.text else '' | |
|
101 | from rhodecode.lib.utils2 import safe_str | |
|
102 | text = '\n{}'.format(safe_str(response.text)) if response.text else '' | |
|
102 | 103 | if response.status_code >= 500: |
|
103 | 104 | log.error('Got SVN response:%s with text:`%s`', response, text) |
|
104 | 105 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now