execution error returning correct error fixed
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 15 Nov 2019 04:44:56 +0000 (22:44 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 15 Nov 2019 04:44:56 +0000 (22:44 -0600)
docs/todo
executer/app/executer.coffee

index de7023f6dd8e4ccad8c1317ed153055df489587e..f7964b92fb6f8d12a000b3b673983b2a1eddfaa8 100644 (file)
--- a/docs/todo
+++ b/docs/todo
@@ -23,6 +23,9 @@
        X Shouldn't be much overhead, just removing all instances where searching for currently active competition
        * Guarantee there will be errors somewhere to find
 
+[ ] Admin - Fix the way testcases are added and managed
+       * Don't know how atm, just make it better
+
 [ ] Add shortcuts around the site
        * Problem description -> Problem submissions
        * Job result -> Problem description
index 613f1a7dbaea42a2b4251fec5db29885aebe5c42..431e429093a63d340f553255e6a89026974c5262 100644 (file)
@@ -120,6 +120,7 @@ class Executer
                                        exec_file.delete_file()
                                        # General error
                                        yield { status: 10, data: { completed: completed, total: total_cases, run_times: run_times } }
+                                       return
 
                                when 'TIME_LIMIT_EXCEEDED'
                                        exec_file.delete_file()