Skip to content

Commit

Permalink
Fix todo
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Mar 15, 2024
1 parent 7146330 commit 6d31e86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/e2e/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ where
}

/// Dummy error type for sandbox_client
/// todo: https://github.com/Cardinal-Cryptography/drink/issues/32
#[derive(Debug, thiserror::Error)]
pub struct SandboxErr;

Expand Down
4 changes: 2 additions & 2 deletions crates/e2e/src/sandbox_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ where
let account_id_raw = match &result.result {
Err(err) => {
log_error(&format!("Instantiation failed: {err:?}"));
return Err(SandboxErr); // todo: make a proper error type
return Err(SandboxErr);
}
Ok(res) => *res.account_id.as_ref(),
};
Expand Down Expand Up @@ -319,7 +319,7 @@ where
Ok(result) => result,
Err(err) => {
log_error(&format!("Upload failed: {err:?}"));
return Err(SandboxErr); // todo: make a proper error type
return Err(SandboxErr);
}
};

Expand Down

0 comments on commit 6d31e86

Please sign in to comment.