File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
integration/vscode/ada/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -115,12 +115,12 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
115115 mainLogChannel = vscode . window . createOutputChannel ( 'Ada Extension' ) ;
116116 mainLogChannel . appendLine ( 'Starting Ada extension' ) ;
117117
118- assertSupportedEnvironments ( ) ;
119-
120118 context . subscriptions . push (
121119 vscode . commands . registerCommand ( 'ada.showExtensionOutput' , ( ) => mainLogChannel . show ( ) )
122120 ) ;
123121
122+ assertSupportedEnvironments ( ) ;
123+
124124 // Log the environment that the extension (and all VS Code) will be using
125125 const customEnv = getEvaluatedCustomEnv ( ) ;
126126
@@ -411,6 +411,7 @@ function assertSupportedEnvironments() {
411411}
412412
413413function logErrorAndThrow ( msg : string ) {
414+ void vscode . window . showErrorMessage ( msg ) ;
414415 mainLogChannel . appendLine ( '[Error] ' + msg ) ;
415416 throw new Error ( msg ) ;
416417}
You can’t perform that action at this time.
0 commit comments