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

[deliver] Capturing NoMethodError exception when fetching live app info #21553

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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