mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 18:48:45 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -32,7 +32,7 @@ export class ShowBlameHistoryCommand extends EditorCommand {
|
||||
return commands.executeCommand(BuiltInCommands.ShowReferences, uri, position, locations);
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('[GitLens.ShowBlameHistoryCommand]', 'getBlameLocations', ex);
|
||||
Logger.error(ex, 'ShowBlameHistoryCommand', 'getBlameLocations');
|
||||
return window.showErrorMessage(`Unable to show blame history. See output channel for more details`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user