Skip to content

add error checking in add_package_to_release_cache()#471

Merged
afragen merged 3 commits intofairpm:release_1.4.0from
afragen:error-check
Apr 15, 2026
Merged

add error checking in add_package_to_release_cache()#471
afragen merged 3 commits intofairpm:release_1.4.0from
afragen:error-check

Conversation

@afragen
Copy link
Copy Markdown
Contributor

@afragen afragen commented Apr 15, 2026

Add error checking to Packages::add_package_to_release_cache().

Don't save a WP_Error to the cache. Packages::get_latest_release_from_did() can return a WP_Error. We need to account for that.

Signed-off-by: Andy Fragen <andy@thefragens.com>
@github-actions
Copy link
Copy Markdown
Contributor

@afragen afragen marked this pull request as ready for review April 15, 2026 21:10
Comment thread inc/packages/namespace.php Outdated
afragen and others added 2 commits April 15, 2026 16:21
Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com>
Signed-off-by: Andy Fragen <andy@thefragens.com>
Signed-off-by: Andy Fragen <andy@thefragens.com>
@afragen afragen merged commit 943c9bc into fairpm:release_1.4.0 Apr 15, 2026
2 checks passed
@afragen afragen deleted the error-check branch April 15, 2026 23:58
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