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>
115
115
mainLogChannel = vscode . window . createOutputChannel ( 'Ada Extension' ) ;
116
116
mainLogChannel . appendLine ( 'Starting Ada extension' ) ;
117
117
118
- assertSupportedEnvironments ( ) ;
119
-
120
118
context . subscriptions . push (
121
119
vscode . commands . registerCommand ( 'ada.showExtensionOutput' , ( ) => mainLogChannel . show ( ) )
122
120
) ;
123
121
122
+ assertSupportedEnvironments ( ) ;
123
+
124
124
// Log the environment that the extension (and all VS Code) will be using
125
125
const customEnv = getEvaluatedCustomEnv ( ) ;
126
126
@@ -411,6 +411,7 @@ function assertSupportedEnvironments() {
411
411
}
412
412
413
413
function logErrorAndThrow ( msg : string ) {
414
+ void vscode . window . showErrorMessage ( msg ) ;
414
415
mainLogChannel . appendLine ( '[Error] ' + msg ) ;
415
416
throw new Error ( msg ) ;
416
417
}
You can’t perform that action at this time.
0 commit comments