File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ export const selectFileTitle = vscode.l10n.t('Select file');
119119export const enterPipelineStep = vscode . l10n . t ( 'Enter the pipeline step to execute' ) ;
120120export const appHostSourceNotFound = vscode . l10n . t ( 'Could not determine the AppHost source file to open.' ) ;
121121export const appHostSourceOpenFailed = ( path : string ) => vscode . l10n . t ( 'Failed to open AppHost source file: {0}' , path ) ;
122+ export const logFileOpenFailed = ( path : string ) => vscode . l10n . t ( 'Failed to open AppHost log file: {0}' , path ) ;
122123export const logFileLabel = vscode . l10n . t ( 'AppHost logs' ) ;
123124
124125// CodeLens strings.
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import {
1818 tooltipEndpoints ,
1919 appHostSourceNotFound ,
2020 appHostSourceOpenFailed ,
21+ logFileOpenFailed ,
2122 healthChecksLabel ,
2223 healthCheckDescription ,
2324 resourceDescriptionHealth ,
@@ -761,7 +762,7 @@ export class AspireAppHostTreeProvider implements vscode.TreeDataProvider<TreeEl
761762 const document = await vscode . workspace . openTextDocument ( uri ) ;
762763 await vscode . window . showTextDocument ( document , { preview : false } ) ;
763764 } catch {
764- vscode . window . showWarningMessage ( appHostSourceOpenFailed ( filePath ) ) ;
765+ vscode . window . showWarningMessage ( logFileOpenFailed ( filePath ) ) ;
765766 }
766767 }
767768
You can’t perform that action at this time.
0 commit comments