Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Change failure back to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed Nov 11, 2019
1 parent 2f14322 commit a4bcb4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/publish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit a4bcb4d

Please sign in to comment.