aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-07 17:49:26 -0700
committerFuwn <[email protected]>2023-04-07 17:49:26 -0700
commitb99d72ee963c5e2ba545b177bc367910da529f84 (patch)
tree6ec98c093c59d520b67144591342f91624840d03 /src
parentrefactor(timing): move timing interface to timing module (diff)
downloadlocus-b99d72ee963c5e2ba545b177bc367910da529f84.tar.xz
locus-b99d72ee963c5e2ba545b177bc367910da529f84.zip
style(main): remove over-specific error handler type context
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 5ea93f9..ea398a7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -77,7 +77,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
router.set_private_key_file(".locus/locus_private.pem");
router.set_certificate_file(".locus/locus_public.pem");
- router.set_error_handler(|_: windmark::context::ErrorContext| {
+ router.set_error_handler(|_| {
windmark::Response::not_found(ERROR_HANDLER_RESPONSE)
});
router.set_fix_path(true);