mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-01 01:25:44 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -22,7 +22,7 @@ export class ShowQuickCurrentBranchHistoryCommand extends ActiveEditorCachedComm
|
||||
return commands.executeCommand(Commands.ShowQuickBranchHistory, uri, branch, undefined, goBackCommand);
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('[GitLens.ShowQuickCurrentBranchHistoryCommand]', ex);
|
||||
Logger.error(ex, 'ShowQuickCurrentBranchHistoryCommand');
|
||||
return window.showErrorMessage(`Unable to show branch history. See output channel for more details`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user