summaryrefslogtreecommitdiff
path: root/app/views/errors
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-11-21 16:14:38 +0100
committerAzul <azul@riseup.net>2017-03-23 09:49:17 +0100
commit1e672227a23afbb9f319a0aefa0b0ca3495fa1c6 (patch)
treef16e3d9f830cef89d523ef2da66fd27bb2afd426 /app/views/errors
parent3efe125d6e3bd5f4eecd18952376ffc37e09b9c5 (diff)
bugfix: handle couch 404s
our special error handler for json requests would turn all exceptions into 500s - removed it. now the rescue_responses can do their thing again.
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/server_error.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/errors/server_error.json b/app/views/errors/server_error.json
index d9a1a86..a2763f6 100644
--- a/app/views/errors/server_error.json
+++ b/app/views/errors/server_error.json
@@ -1,4 +1,4 @@
{
- "error": "server_error",
+ "error": "server failed",
"message": "Server Error"
-} \ No newline at end of file
+}