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