mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-15 17:25:33 -05:00
Refactors Logger.error to take the Error object
This commit is contained in:
@@ -39,7 +39,7 @@ export class OpenCommitInRemoteCommand extends ActiveEditorCommand {
|
||||
return commands.executeCommand(Commands.OpenInRemote, uri, remotes, 'commit', [commit.sha]);
|
||||
}
|
||||
catch (ex) {
|
||||
Logger.error('[GitLens.OpenCommitInRemoteCommand]', ex);
|
||||
Logger.error(ex, 'OpenCommitInRemoteCommand');
|
||||
return window.showErrorMessage(`Unable to open commit in remote provider. See output channel for more details`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user