Skip to content

Commit 105f578

Browse files
authored
Add logging for which email address is used (#5870)
Part of #5842
1 parent ef35a9c commit 105f578

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/github/folderRepositoryManager.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,6 +1528,7 @@ export class FolderRepositoryManager implements vscode.Disposable {
15281528
method?: 'merge' | 'squash' | 'rebase',
15291529
email?: string,
15301530
): Promise<{ merged: boolean, message: string }> {
1531+
Logger.debug(`Merging PR: ${pullRequest.number} method: ${method} for user: "${email}" - enter`, this.id);
15311532
const { mutate, schema } = await pullRequest.githubRepository.ensure();
15321533

15331534
const activePRSHA = this.activePullRequest && this.activePullRequest.head && this.activePullRequest.head.sha;
@@ -1592,6 +1593,8 @@ export class FolderRepositoryManager implements vscode.Disposable {
15921593
}
15931594
})
15941595
.then(() => {
1596+
Logger.debug(`Merging PR: ${pullRequest.number}} - done`, this.id);
1597+
15951598
/* __GDPR__
15961599
"pr.merge.success" : {}
15971600
*/

0 commit comments

Comments
 (0)