diff --git a/axum/src/extract/extension.rs b/axum/src/extract/extension.rs index 110a23c5..cb03e024 100644 --- a/axum/src/extract/extension.rs +++ b/axum/src/extract/extension.rs @@ -56,7 +56,7 @@ where .get::() .ok_or_else(|| { MissingExtension::from_err(format!( - "Extension of type `{}` was not found. Perhaps you forgot to add it?", + "Extension of type `{}` was not found. Perhaps you forgot to add it? See `axum::AddExtensionLayer`.", std::any::type_name::() )) })