improve "data no configured" message

This commit is contained in:
Ali MJ Al-Nasrawy 2021-10-31 15:44:47 +03:00
parent be9530eb72
commit 7f430f0c3c
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ impl<T: ?Sized + 'static> FromRequest for Data<T> {
type_name::<T>(), type_name::<T>(),
); );
err(ErrorInternalServerError( err(ErrorInternalServerError(
"App data is not configured, to configure use App::data()", "App data is not configured, to configure construct it with web::Data::new() and pass it to App::app_data()",
)) ))
} }
} }