Skip to content

DM-51347: Add missing raise in process_visit. #319

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erinleighh
Copy link
Contributor

No description provided.

@erinleighh erinleighh marked this pull request as ready for review June 11, 2025 17:00
@erinleighh erinleighh requested a review from kherner June 11, 2025 17:29
_try_export(mwi, expid_set, _log)
exported = _try_export(mwi, expid_set, _log)
if not exported:
raise
Copy link
Member

Choose a reason for hiding this comment

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

Bare raise only works inside an exception handler, otherwise there's no "current exception" to reraise.

Why not simply call export_outputs directly?

Copy link

@kherner kherner left a comment

Choose a reason for hiding this comment

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

Looks like @kfindeisen already covered it, but I join his comments.

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.

3 participants