diff --git a/app/models/organization.rb b/app/models/organization.rb index 846bc3ee..d37419a1 100644 --- a/app/models/organization.rb +++ b/app/models/organization.rb @@ -109,5 +109,8 @@ def org_logo else 'missing.png' end + rescue ActiveStorage::InvariableError => e + Rails.logger.error("Could not resize image for organization #{id}: #{e.message}") + 'missing.png' end end