Always panic in the router, to debug #1955

This commit is contained in:
David Pedersen 2023-04-24 15:38:38 +02:00
parent 287ae644dc
commit 07cd3c8f4f

View File

@ -306,6 +306,9 @@ where
.remove::<SuperFallback<S, B>>()
.map(|SuperFallback(path_router)| path_router.into_inner());
// simulate hitting `unreachable!()` below
unreachable!();
if let Some(mut super_fallback) = super_fallback {
return super_fallback
.call_with_state(req, state)