mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
Add back push success/failure telemetry
- accidentally dropped when removing duplicate function
This commit is contained in:
parent
ccd8417626
commit
0311052f24
@ -189,10 +189,12 @@ export class BranchController {
|
||||
branchId,
|
||||
withForce
|
||||
});
|
||||
posthog.capture('Push Successful');
|
||||
await this.vbranchService.reload();
|
||||
return await this.vbranchService.getById(branchId);
|
||||
} catch (err: any) {
|
||||
console.error(err);
|
||||
posthog.capture('Push Failed', { error: err });
|
||||
if (err.code === 'errors.git.authentication') {
|
||||
showToast({
|
||||
title: 'Git push failed',
|
||||
|
Loading…
Reference in New Issue
Block a user