Skip to content

Commit

Permalink
Telemetry for timeout getting commit for create (#5893)
Browse files Browse the repository at this point in the history
Fixes #5865
  • Loading branch information
alexr00 committed Apr 4, 2024
1 parent 914542f commit 13236d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/github/createPRViewProviderNew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ export class CreatePullRequestViewProviderNew extends WebviewViewBase implements

if (name && !lastCommit) {
Logger.appendLine('Timeout getting last commit message', CreatePullRequestViewProviderNew.ID);
/* __GDPR__
"pr.create.getCommitTimeout" : {}
*/
this.telemetry.sendTelemetryEvent('pr.create.getCommitTimeout');
}
// Set title
if (useBranchName && name) {
Expand Down

0 comments on commit 13236d7

Please sign in to comment.