mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 13:30:39 +00:00
Always panic in the router, to debug #1955
This commit is contained in:
parent
287ae644dc
commit
07cd3c8f4f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user