aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/grideditor.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-11-14 04:21:38 +0100
committerMaximilian Hils <git@maximilianhils.com>2015-11-14 04:21:38 +0100
commit4499ab61c04d765fc191227e25af0ee1cc98a83a (patch)
tree3208cc7176104c7ee9fcd7173719ab744b486f41 /libmproxy/console/grideditor.py
parent247f27d8219bb63ef64dd33935e222fdad507631 (diff)
parentcd0b9e01be4041275165ab5e90b524ab0b3247f0 (diff)
downloadmitmproxy-4499ab61c04d765fc191227e25af0ee1cc98a83a.tar.gz
mitmproxy-4499ab61c04d765fc191227e25af0ee1cc98a83a.tar.bz2
mitmproxy-4499ab61c04d765fc191227e25af0ee1cc98a83a.zip
structure libmproxy.script
Diffstat (limited to 'libmproxy/console/grideditor.py')
-rw-r--r--libmproxy/console/grideditor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/grideditor.py b/libmproxy/console/grideditor.py
index d32ce5b4..237eea28 100644
--- a/libmproxy/console/grideditor.py
+++ b/libmproxy/console/grideditor.py
@@ -636,7 +636,7 @@ class ScriptEditor(GridEditor):
def is_error(self, col, val):
try:
script.Script.parse_command(val)
- except script.ScriptError as v:
+ except script.ScriptException as v:
return str(v)