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