Skip to content

Commit

Permalink
Expose any errors that occur while expanding onto a new subnet
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Dec 19, 2024
1 parent fedac21 commit 9753e07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/canisters/registry/impl/src/timer_job_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use ic_cdk::api::call::{CallResult, RejectionCode};
use ic_cdk::api::management_canister::main::{CanisterSettings, UpdateSettingsArgument};
use ic_ledger_types::{AccountIdentifier, Memo, Subaccount, Timestamp, Tokens, TransferArgs, DEFAULT_FEE};
use serde::{Deserialize, Serialize};
use tracing::error;
use types::{CanisterId, TimestampMillis};

const MEMO_CREATE_CANISTER: Memo = Memo(0x41455243); // == 'CREA'
Expand Down Expand Up @@ -54,7 +55,7 @@ impl ExpandOntoSubnetJob {
let delay = match self.process_step_inner(next_step, now).await {
Ok(Some(false)) => 0,
Err(error) => {
ic_cdk::println!("ExpandOntoSubnet processing failed: {:?}", error);
error!("ExpandOntoSubnet processing failed: {:?}", error);
MINUTE_IN_MS
}
Ok(Some(true)) | Ok(None) => return,
Expand Down

0 comments on commit 9753e07

Please sign in to comment.