mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-11 18:48:38 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -40,7 +40,7 @@ export class DiffDirectoryCommand extends ActiveEditorCommand {
|
||||
return undefined;
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('GitLens.DiffDirectoryCommand', ex);
|
||||
Logger.error(ex, 'DiffDirectoryCommand');
|
||||
return window.showErrorMessage(`Unable to open directory diff. See output channel for more details`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user