about summary refs log tree commit diff
path: root/web/atward/src
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-05-06T14·02+0200
committertazjin <mail@tazj.in>2021-05-06T21·33+0000
commit61783bd2ba1770dcbdc8585b9cc9647a9332f28b (patch)
treed5e651961cddeb9d56034c8da5a588803ad128e5 /web/atward/src
parent4de6648ae9ef9584ece94d12c2e5099f75e120ea (diff)
fix(atward): Better align unsupported query error with inspiration r/2573
If you can make sense of this commit, it will make sense to you.

Change-Id: Ib223bf97b7a28828a04f01bc96365f654549fa60
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3100
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web/atward/src')
-rw-r--r--web/atward/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/atward/src/main.rs b/web/atward/src/main.rs
index ce858e2629..9dd2a38fbc 100644
--- a/web/atward/src/main.rs
+++ b/web/atward/src/main.rs
@@ -68,7 +68,8 @@ fn dispatch(queries: &[Handler], uri: &str) -> Option<String> {
 }
 
 fn fallback() -> Response {
-    Response::text("no match for atward whimchst query").with_status_code(404)
+    Response::text("error for emphasis that i am angery and the query whimchst i angery atward")
+        .with_status_code(404)
 }
 
 fn main() {