aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-04-05 10:18:36 +0100
committerGravatar Gareth Coles <[email protected]>2018-04-05 10:18:36 +0100
commitefde66d20fa9999090194bcb7a1dac18486f221e (patch)
treec777f4def4fe5fced23422ef193fe6bdf1174677
parentRST test error catching (diff)
RST test error catching
-rw-r--r--pysite/views/ws/rst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/views/ws/rst.py b/pysite/views/ws/rst.py
index 49afaa88..5abd0fb5 100644
--- a/pysite/views/ws/rst.py
+++ b/pysite/views/ws/rst.py
@@ -24,7 +24,7 @@ class RSTWebsocket(WS):
try:
data = publish_parts(
- source=message, writer_name="html5", settings_overrides={"traceback": True}
+ source=message, writer_name="html5", settings_overrides={"traceback": True, "halt": 2}
)["html_body"]
except Exception as e:
self.log.exception("Parsing error")