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