summaryrefslogtreecommitdiff
path: root/python/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/util.py')
-rw-r--r--python/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/util.py b/python/util.py
index ce89558..8c1a0c7 100644
--- a/python/util.py
+++ b/python/util.py
@@ -59,6 +59,8 @@ def get_exception_desc(exc):
return [{'id':'eof_error'}]
if 'timed out' in exc:
return [{'id':'timed_out'}]
+ if 'sandbox violation' in exc:
+ return [{'id': 'sandbox_violation'}]
if 'NameError' in exc:
return [{'id':'name_error', 'args': {'message': exc}}]
elif 'TypeError' in exc: