From 5545edcca7d8d67ef156c924351fd9cb912c160b Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 28 Sep 2021 01:57:16 +0300 Subject: Modified the module to use BACKEND_URI --- src/frontend/mod.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/frontend/mod.rs') diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index 37420ac..890879c 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -120,6 +120,8 @@ struct OnboardingData { pub async fn onboarding_receiver(mut req: Request>) -> Result { use serde_json::json; + log::debug!("Entering onboarding receiver..."); + // This cannot error out as the URL must be valid. Or there is something horribly wrong // and we shouldn't serve this request anyway. >::as_mut(&mut req) @@ -127,7 +129,9 @@ pub async fn onboarding_receiver(mut req: Request().await?; + log::debug!("Body parsed!"); let backend = &req.state().storage; #[cfg(any(not(debug_assertions), test))] @@ -135,6 +139,8 @@ pub async fn onboarding_receiver(mut req: Request(mut req: Request(mut req: Request(mut req: Request