mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-29 17:25:20 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -21,7 +21,7 @@ export class ToggleBlameCommand extends EditorCommand {
|
||||
return this.annotationController.toggleBlameAnnotation(editor, editor.selection.active.line);
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('GitLens.ToggleBlameCommand', ex);
|
||||
Logger.error(ex, 'ToggleBlameCommand');
|
||||
return window.showErrorMessage(`Unable to show blame annotations. See output channel for more details`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user