Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log error when calculation fails #2313

Merged
merged 2 commits into from
May 24, 2023
Merged

Log error when calculation fails #2313

merged 2 commits into from
May 24, 2023

Conversation

xispa
Copy link
Member

@xispa xispa commented May 24, 2023

Description of the issue/feature this PR addresses

When a calculation fails, the system assigns NA as as result, but no error is reported, which sometimes might make really difficult to track back the reason of an issue.

Current behavior before PR

System does not log error when a calculation fails

Desired behavior after PR is merged

System does log error when a calculation fails

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@xispa xispa changed the title Log errors when calculation fails Log error when calculation fails May 24, 2023
@xispa xispa requested a review from ramonski May 24, 2023 11:52
Copy link
Contributor

@ramonski ramonski left a comment

Choose a reason for hiding this comment

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

Cool, this is helpful! Thanks

@ramonski ramonski merged commit 17cdd38 into 2.x May 24, 2023
@ramonski ramonski deleted the report-calc-error branch May 24, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants