diff --git a/backend/canisters/registry/CHANGELOG.md b/backend/canisters/registry/CHANGELOG.md index 4c74882665..884889f9d4 100644 --- a/backend/canisters/registry/CHANGELOG.md +++ b/backend/canisters/registry/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [unreleased] +### Changed + +- Expose any errors that occur while expanding onto a new subnet ([#7094](https://github.com/open-chat-labs/open-chat/pull/7094)) + ## [[2.0.1536](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1536-registry)] - 2024-12-19 ### Fixed diff --git a/backend/canisters/registry/impl/src/timer_job_types.rs b/backend/canisters/registry/impl/src/timer_job_types.rs index 431b6a20b6..fbc1ed7dd7 100644 --- a/backend/canisters/registry/impl/src/timer_job_types.rs +++ b/backend/canisters/registry/impl/src/timer_job_types.rs @@ -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' @@ -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,