File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
10
10
## [ 2.6.0]
11
11
12
+ ### Fixed
13
+
14
+ - Fixes log channel not initialising when extension fails to activate
15
+ ([ #286 ] ( https://github.com/krvajal/vscode-fortran-support/issues/286 ) )
16
+
12
17
### Added
13
18
14
19
- Adds support for variable and path interpolation along with glob expressions
Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ import * as pkg from '../package.json';
14
14
import { LANG_SERVER_TOOL_ID } from './lib/tools' ;
15
15
import { FortranFormattingProvider } from './features/formatting-provider' ;
16
16
17
+ // Make it global to catch errors when activation fails
18
+ const loggingService = new LoggingService ( ) ;
19
+
17
20
export function activate ( context : vscode . ExtensionContext ) {
18
- const loggingService = new LoggingService ( ) ;
19
21
const extensionConfig = vscode . workspace . getConfiguration ( EXTENSION_ID ) ;
20
22
21
23
loggingService . logInfo ( `Extension Name: ${ pkg . displayName } ` ) ;
You can’t perform that action at this time.
0 commit comments