mozilla / fxa

Monorepo for Mozilla Accounts (formerly Firefox Accounts)
https://mozilla.github.io/ecosystem-platform/
Mozilla Public License 2.0
606 stars 212 forks source link

fix(errors): Always emit glean settings view event if glean metrics is enabled #18031

Closed vbudhram closed 1 week ago

vbudhram commented 1 week ago

Because

This pull request

Issue that this pull request solves

Closes: https://mozilla-hub.atlassian.net/browse/FXA-10729

Checklist

Other information (Optional)

We don't/can't emit Glean metrics if the GetInitialSettingsState fails to load since it needs to read the metricsEnabled flag. I'm not sure if this will 100% fix the issue but think its worth a try.