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

Commit

Permalink
Merge pull request #1251 from cloudflare/avery/fix-dev-errors
Browse files Browse the repository at this point in the history
remove overly enthusiastic dev error handling
  • Loading branch information
EverlastingBugstopper authored May 7, 2020
2 parents ead7078 + e4d530e commit 063cf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/dev/gcs/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn get_preview_id(
// directing the user to open the browser to view the output
// this message makes sense for `wrangler preview` but not `wrangler dev`
let sites_preview = false;
let script_id = upload(&mut target, user.as_ref(), sites_preview, verbose).map_err(|_| failure::format_err!("Could not upload your script. Check your internet connection or https://www.cloudflarestatus.com/ for rare incidents impacting the Cloudflare Workers API."))?;
let script_id = upload(&mut target, user.as_ref(), sites_preview, verbose)?;
Ok(format!(
"{}{}{}{}",
&script_id,
Expand Down

0 comments on commit 063cf5d

Please sign in to comment.