0001-wscall-handle-saving-errors-missing-data-9773.patch
wcs/wf/wscall.py | ||
---|---|---|
32 | 32 | |
33 | 33 |
class JournalWsCallErrorPart: #pylint: disable=C1001 |
34 | 34 |
content = None |
35 |
data = None |
|
35 | 36 | |
36 | 37 |
def __init__(self, summary, data): |
37 | 38 |
self.summary = summary |
38 |
self.data = data[:10000] # beware of huge responses |
|
39 |
if data: |
|
40 |
self.data = data[:10000] # beware of huge responses |
|
39 | 41 | |
40 | 42 |
def view(self): |
41 | 43 |
if not get_request().get_path().startswith('/backoffice/'): |
42 |
- |