mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-30 09:35:42 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -65,7 +65,7 @@ export class ShowQuickBranchHistoryCommand extends ActiveEditorCachedCommand {
|
||||
log);
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('[GitLens.ShowQuickBranchHistoryCommand]', ex);
|
||||
Logger.error(ex, 'ShowQuickBranchHistoryCommand');
|
||||
return window.showErrorMessage(`Unable to show branch history. See output channel for more details`);
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user