summaryrefslogtreecommitdiff
path: root/web/fail.lua
diff options
context:
space:
mode:
Diffstat (limited to 'web/fail.lua')
-rw-r--r--web/fail.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/fail.lua b/web/fail.lua
new file mode 100644
index 0000000..0201cc9
--- /dev/null
+++ b/web/fail.lua
@@ -0,0 +1 @@
+return function(status) error({fail=true,status=status,tb=debug.traceback(nil,2)},2) end