Skip to content

Commit

Permalink
Bug 1832132 - Correctly report success in BROWSER_SET_DEFAULT_USER_CH…
Browse files Browse the repository at this point in the history
…OICE_RESULT. r=nalexander, a=RyanVM

Differential Revision: https://phabricator.services.mozilla.com/D177537
  • Loading branch information
Barret Rennie committed May 10, 2023
1 parent 4e2b112 commit 5d2e0b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions browser/components/shell/ShellService.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ let ShellServiceInternal = {
});
telemetryResult = "ErrOther";
this._handleWDBAResult(exeProcess);
telemetryResult = "Success";
} catch (ex) {
if (ex instanceof WDBAError) {
telemetryResult = ex.telemetryResult;
Expand Down Expand Up @@ -342,6 +343,7 @@ let ShellServiceInternal = {
});
telemetryResult = "ErrOther";
this._handleWDBAResult(exeProcess);
telemetryResult = "Success";
} catch (ex) {
if (ex instanceof WDBAError) {
telemetryResult = ex.telemetryResult;
Expand Down

0 comments on commit 5d2e0b8

Please sign in to comment.