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

Do not hide init errors in BundleComponent #787

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Oct 8, 2023

Currently BundleComponent do not propagate errors but only log them, this can lead to a situation where it is unclear what calls fails.

This changes the init method to throw an CoreException in all cases where it encounters a problem and instead use dedicated catch whenever it seems suitable.

See #553

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Test Results

     273 files  ±0       273 suites  ±0   1h 11m 31s ⏱️ + 10m 40s
  3 340 tests ±0    3 309 ✔️ +1  30 💤 ±0  0 ±0  1 🔥  - 1 
10 317 runs  ±0  10 226 ✔️ +1  90 💤 ±0  0 ±0  1 🔥  - 1 

For more details on these errors, see this check.

Results for commit 17ccaed. ± Comparison against base commit 540c9ef.

♻️ This comment has been updated with latest results.

Currently BundleComponent do not propagate errors but only log them,
this can lead to a situation where it is unclear what calls fails.

This changes the init method to throw an CoreException in all cases
where it encounters a problem and instead use dedicated catch whenever
it seems suitable.

See eclipse-pde#553
@laeubi laeubi merged commit 3e8dda1 into eclipse-pde:master Oct 8, 2023
14 of 16 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.

1 participant