From a4bcb4d925383fc5ee081da6d2e49ce3d9a0a023 Mon Sep 17 00:00:00 2001 From: Avery Harnish Date: Mon, 11 Nov 2019 12:01:19 -0600 Subject: [PATCH] Change failure back to warn --- src/commands/publish/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/publish/mod.rs b/src/commands/publish/mod.rs index 3db757222..95d035abd 100644 --- a/src/commands/publish/mod.rs +++ b/src/commands/publish/mod.rs @@ -38,7 +38,7 @@ pub fn publish( if let Some(site_config) = target.site.clone() { if let Some(route) = &target.route { if !route.ends_with("*") { - failure::bail!("The route in your wrangler.toml should have a trailing * to apply the Worker on every path, otherwise your site will not behave as expected.\nroute = {}*", route) + message::warn(&format!("The route in your wrangler.toml should have a trailing * to apply the Worker on every path, otherwise your site will not behave as expected.\nroute = {}*", route)); } } bind_static_site_contents(user, target, &site_config, false)?;