mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-19 17:25:57 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -34,7 +34,7 @@ export class OpenChangedFilesCommand extends ActiveEditorCommand {
|
||||
return undefined;
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('[GitLens.OpenChangedFilesCommand]', ex);
|
||||
Logger.error(ex, 'OpenChangedFilesCommand');
|
||||
return window.showErrorMessage(`Unable to open changed files. See output channel for more details`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user