@@ -370,22 +370,8 @@ export async function setupChannels(
370370 if ( ! adapter ) {
371371 return ;
372372 }
373- try {
374- const status = await adapter . getStatus ( { cfg : next , options, accountOverrides } ) ;
375- statusByChannel . set ( channel , status ) ;
376- } catch ( error ) {
377- const detail = sanitizeTerminalText ( formatErrorMessage ( error ) ) ;
378- statusByChannel . set ( channel , {
379- channel,
380- configured : isChannelConfigured ( next , channel ) ,
381- statusLines : [ ] ,
382- selectionHint : "status unavailable" ,
383- } ) ;
384- await prompter . note (
385- `Status unavailable (${ detail } ).\nRetry: ${ formatCliCommand ( `openclaw channels status --channel ${ channel } ` ) } ` ,
386- t ( "wizard.channels.statusTitle" ) ,
387- ) ;
388- }
373+ const status = await adapter . getStatus ( { cfg : next , options, accountOverrides } ) ;
374+ statusByChannel . set ( channel , status ) ;
389375 } ;
390376
391377 const enableBundledPluginForSetup = async ( channel : ChannelChoice ) : Promise < boolean > => {
@@ -473,7 +459,21 @@ export async function setupChannels(
473459 if ( channel === targetedChannel ) {
474460 finishSetupRequested = true ;
475461 }
476- await refreshStatus ( channel ) ;
462+ try {
463+ await refreshStatus ( channel ) ;
464+ } catch ( error ) {
465+ const detail = sanitizeTerminalText ( formatErrorMessage ( error ) ) ;
466+ statusByChannel . set ( channel , {
467+ channel,
468+ configured : isChannelConfigured ( next , channel ) ,
469+ statusLines : [ ] ,
470+ selectionHint : "status unavailable" ,
471+ } ) ;
472+ await prompter . note (
473+ `Status unavailable (${ detail } ).\nRetry: ${ formatCliCommand ( `openclaw channels status --channel ${ channel } ` ) } ` ,
474+ t ( "wizard.channels.statusTitle" ) ,
475+ ) ;
476+ }
477477 } ;
478478
479479 const applyCustomSetupResult = async (
0 commit comments