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

fix: non-zero return for plugin success as of dd4hep-1.22 #86

Merged
merged 1 commit into from
Sep 3, 2022

Conversation

wdconinc
Copy link
Contributor

As of DD4hep-1.22, AIDASoft/DD4hep#936, any plugin returning a zero return value is assumed to have failed. This is somewhat counter-intuitive for plugins that simply return a long status code, but it is inteded to allow recursive calls and is in line with what other plugins already do, e.g. return field or return sdet.

As of DD4hep-1.22, AIDASoft/DD4hep#936, any plugin returning a zero return value is assumed to have failed. This is somewhat counter-intuitive for plugins that simply return a long status code, but it is inteded to allow recursive calls and is in line with what other plugins already do, e.g. `return field` or `return sdet`.
@wdconinc wdconinc requested a review from sly2j August 27, 2022 21:11
@wdconinc wdconinc self-assigned this Aug 27, 2022
@wdconinc wdconinc changed the title fix: non-zero return for plugin success in dd4hep-1.22 fix: non-zero return for plugin success as of dd4hep-1.22 Aug 27, 2022
@wdconinc wdconinc enabled auto-merge (squash) August 27, 2022 21:11
@wdconinc wdconinc disabled auto-merge September 3, 2022 16:44
@wdconinc wdconinc merged commit e835f65 into main Sep 3, 2022
@wdconinc wdconinc deleted the file-loader-return-non-zero branch September 3, 2022 16:44
@veprbl
Copy link
Member

veprbl commented Sep 5, 2022

SEO:
runtime_error: dd4hep: apply-plugin: Failed to execute plugin epic_FileLoader

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