aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/request_preview.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-07-25 10:53:29 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-07-25 10:55:00 +1200
commite7e6a60246c28e1399f0fd626c73b4f16b04a995 (patch)
treee3220f7b0c7b63e59a47fc2115a0375afb4250f4 /libpathod/templates/request_preview.html
parent59f408dcf437b0099edc0b54b73c006752c7dc7e (diff)
downloadmitmproxy-e7e6a60246c28e1399f0fd626c73b4f16b04a995.tar.gz
mitmproxy-e7e6a60246c28e1399f0fd626c73b4f16b04a995.tar.bz2
mitmproxy-e7e6a60246c28e1399f0fd626c73b4f16b04a995.zip
Nicer error for empty preview spec submission.
Diffstat (limited to 'libpathod/templates/request_preview.html')
-rw-r--r--libpathod/templates/request_preview.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpathod/templates/request_preview.html b/libpathod/templates/request_preview.html
index fe8a03e9..eaf78898 100644
--- a/libpathod/templates/request_preview.html
+++ b/libpathod/templates/request_preview.html
@@ -7,7 +7,6 @@
<h2> Error: {{ syntaxerror }} </h2>
<pre>{{ marked }}</pre>
{% elif error %}
- <h2> Error </h2>
<p style="color: #ff0000">{{ error }}</p>
{% else %}
<h2>Spec:</h2>