Merge pull request #9250 from appwrite/chore-remove-error

chore: skipped job instead of throwing error
This commit is contained in:
Christy Jacob 2025-01-21 12:32:36 +05:30 committed by GitHub
commit 9c71af219b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,7 +147,8 @@ class Certificates extends Action
// If certificate exists already, double-check expiry date. Skip if job is forced
if (!$certificates->isRenewRequired($domain->get(), $log)) {
throw new Exception('Renew isn\'t required.');
Console::info("Skipping, renew isn't required");
return;
}
}