aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/parse_failure.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-20 09:25:28 +0300
committerFrederick Muriuki Muriithi2022-05-20 09:25:28 +0300
commitc9e231c5fcbc01d00ee5cdd4458ece8fcaf6d39c (patch)
tree7fe23bfe5dd4368952d6148181a1e1b125184f51 /qc_app/templates/parse_failure.html
parent2abe10ea8ac059d7cab83895bb5d2ec6d4a6ce1c (diff)
downloadgn-uploader-c9e231c5fcbc01d00ee5cdd4458ece8fcaf6d39c.tar.gz
Handle errors
Implement code to handle errors in the processing of files.
Diffstat (limited to 'qc_app/templates/parse_failure.html')
-rw-r--r--qc_app/templates/parse_failure.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/qc_app/templates/parse_failure.html b/qc_app/templates/parse_failure.html
new file mode 100644
index 0000000..31f6be8
--- /dev/null
+++ b/qc_app/templates/parse_failure.html
@@ -0,0 +1,26 @@
+{%extends "base.html"%}
+
+{%block title%}Worker Failure{%endblock%}
+
+{%block contents%}
+<h1 class="heading">Worker Failure</h1>
+
+<p>
+ There was an error while parsing your file.
+</p>
+
+<p>
+ Please notify the developers of this issue when you encounter it,
+ providing the information below.
+</p>
+
+<h4>Debugging Information</h4>
+
+<ul>
+ <li><strong>job id</strong>: {{job["job_id"]}}</li>
+ <li><strong>filename</strong>: {{job["filename"]}}</li>
+ <li><strong>line number</strong>: {{job["line_number"]}}</li>
+ <li><strong>Progress</strong>: {{job["percent"]}} %</li>
+</ul>
+
+{%endblock%}