Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Devdutt Shenoi committed Apr 1, 2024
2 parents 7d0e6f0 + 88b0fba commit 19b0b14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions uplink/src/base/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ pub struct Action {
// action id
#[serde(alias = "id")]
pub action_id: String,
// determines if action is a process
pub kind: String,
// action name
pub name: String,
// action payload. json. can be args/payload. depends on the invoked command
Expand Down
2 changes: 1 addition & 1 deletion uplink/src/collector/downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl FileDownloader {
loop {
match self.download(req, &mut download).await {
Ok(_) => break,
Err(Error::Reqwest(e)) => {
Err(Error::Reqwest(e)) if !e.is_status() => {
let status = ActionResponse::progress(&self.action_id, "Download Failed", 0)
.set_sequence(self.sequence())
.add_error(e.to_string());
Expand Down

0 comments on commit 19b0b14

Please sign in to comment.