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

Fail when signature contains error #285

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

midnightercz
Copy link
Member

No description provided.

@midnightercz midnightercz requested a review from querti as a code owner January 28, 2025 12:15
@querti
Copy link
Collaborator

querti commented Jan 28, 2025

Can you fix the CI?

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (6679ba1) to head (7069089).
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##            master      #285    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           26        26            
  Lines         3246      3812   +566     
==========================================
+ Hits          3246      3812   +566     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

for reference, op_res in zip(
signed_results["operation"]["references"], signed_results["operation_results"]
):
if op_res[0]["msg"]["errors"]:
LOG.error(f"Error signing {reference}: {op_res[0]['msg']['errors']}")
error = True
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why can't we raise an error here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because I wanted to log all errors first and then fail

@midnightercz midnightercz merged commit 888f994 into master Jan 30, 2025
17 checks passed
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