mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-27 01:25:44 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -17,7 +17,7 @@ export class ShowLastQuickPickCommand extends Command {
|
||||
return commands.executeCommand(command.command, ...command.args);
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('[GitLens.ShowLastQuickPickCommand]', ex);
|
||||
Logger.error(ex, 'ShowLastQuickPickCommand');
|
||||
return window.showErrorMessage(`Unable to show last quick pick. See output channel for more details`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user