Skip to content

rex.mart: submit mart build exceptions to sentry#46

Open
mtdavis wants to merge 1 commit intobaseline/masterfrom
baseline/mart-sentry
Open

rex.mart: submit mart build exceptions to sentry#46
mtdavis wants to merge 1 commit intobaseline/masterfrom
baseline/mart-sentry

Conversation

@mtdavis
Copy link

@mtdavis mtdavis commented Apr 28, 2021

No description provided.

@mtdavis mtdavis requested a review from andreypopp April 28, 2021 16:35
)
)

get_sentry().captureException(sync=True)
Copy link
Member

Choose a reason for hiding this comment

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

I'd move this below to the else: branch (to be created) of the if entry.halt_on_failure:. Otherwise, I think, the exception will be reported twice if entry.halt_on_failure is True.

Copy link
Author

Choose a reason for hiding this comment

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

I agree that's how it looks like it would work, but we tried using halt_on_failure at one point and we still didn't see mart errors reported in Sentry...

https://github.com/prometheusresearch/lfa-system/commit/67adc5a723b39b099b9c384deae967e969d79864#diff-76a52879af8738f7286ad8218203ffd074244ac6a198c1b8db18609e75f9f807

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