diff --git a/lib/src/catcher.rs b/lib/src/catcher.rs index 6ec94cbd..1739a7ff 100644 --- a/lib/src/catcher.rs +++ b/lib/src/catcher.rs @@ -99,9 +99,8 @@ impl Catcher { } #[inline(always)] - pub(crate) fn handle<'r>(&self, err: Error, req: &'r Request) - -> response::Result<'r> { - (self.handler)(err, req) + pub(crate) fn handle<'r>(&self, e: Error, r: &'r Request) -> response::Result<'r> { + (self.handler)(e, r) } #[inline(always)]