Skip to content

Commit

Permalink
[deliver] Capturing NoMethodError exception when fetching live app in…
Browse files Browse the repository at this point in the history
…fo (#21553)

* capturing NoMethodError exception

* force retrigger circleci build
  • Loading branch information
kronenthaler committed Oct 7, 2023
1 parent 8cbb420 commit b7714db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deliver/lib/deliver/upload_metadata.rb
Expand Up @@ -484,7 +484,11 @@ def updating_localized_app_info?(options, app, app_info)
app_info_locale = localizations.find { |l| l.locale == language }
next if app_info_locale.nil?

current_value = app_info_locale.public_send(key.to_sym)
begin
current_value = app_info_locale.public_send(key.to_sym)
rescue NoMethodError
next
end

return true if current_value != strip_value
end
Expand Down

0 comments on commit b7714db

Please sign in to comment.