Skip to content

Conversation

@brizental
Copy link
Contributor

@brizental brizental commented Aug 24, 2021

Pull Request checklist

  • Quality: Make sure this PR builds and runs cleanly.
    • Inside the glean/ folder, run:
      • npm run test Runs all tests
      • npm run lint Runs all linters
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry to CHANGELOG.md or an explanation of why it does not need one
  • Documentation: This PR includes documentation changes, an explanation of why it does not need that or a follow-up bug has been filed to do that work
    • I'll file a follow up to document how to use the development version. It requires changing the glean.js file inside the Qt library folder, which is... kinda horrible, but at this point, better than nothing.
    • https://bugzilla.mozilla.org/show_bug.cgi?id=1727352

It is right to catch this error, but I think the fact that is being hit
at all is symptomatic of something else. Will file a bug for further
investigation.
@brizental brizental requested a review from Dexterp37 August 24, 2021 15:07
return getValueFromNestedObject(obj, index);
} catch(e) {
log(LOG_TAG, [
"Error getting value from database.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this about? It doesn't seem to be fitting in this PR: is this an attempt to work around baku's issue?

Copy link
Contributor Author

@brizental brizental Aug 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it's an issue I found when I ran the unminified version to check that it worked. As I mention in the commit message, this is probably symptomatic of some other real issue, for which I opened a follow-up bug. If you prefer I can drop this commit from this PR and add it to another one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that's fine

@brizental brizental merged commit 5fd4561 into mozilla:main Aug 25, 2021
@brizental brizental deleted the 1726769-unminified-qt branch August 25, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants