Skip to content

Conversation

@dylanratcliffe
Copy link
Member

Fixes #470

Copy link
Contributor

@DavidS-ovm DavidS-ovm left a comment

Choose a reason for hiding this comment

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

I would suggest two major changes here:

  • move all detection logic into a single function at the cmdModel to have a better overview of what this is tracking across the entire CLI
  • capture and re-use key attributes at the cmdModel level (accountName, user id, etc) so that all honeycomb queries can slice and dice by the same filters

Comment on lines 684 to 686

// TODO: Ask David about the position of these too
sentry.CaptureException(err)
Copy link
Contributor

Choose a reason for hiding this comment

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

I haven't dug in more closely what's happening here, but for all errors, there is

sentry.CaptureException(msg.err)
, and risksError does return a fatalError that is propagated up, so it should already land in sentry.

@dylanratcliffe dylanratcliffe enabled auto-merge July 19, 2024 13:39
@dylanratcliffe dylanratcliffe merged commit bbce29b into main Jul 19, 2024
@dylanratcliffe dylanratcliffe deleted the more-business-milestones branch July 19, 2024 13:44
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.

Create milestones to better track errors

3 participants