Merge pull request #15872 from CartoDB/fix-missing-ff-on-import

Make code resilient to missing feature flag
pull/15875/head
Rafa de la Torre 4 years ago committed by GitHub
commit 64137f17b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,6 +46,7 @@ Development
* Added a script to generate a graph of Sequel models associations [#15865](https://github.com/CartoDB/cartodb/pull/15865)
* Migrate `::FeatureFlagsUser` to `ActiveRecord` [#15841](https://github.com/CartoDB/cartodb/pull/15841)
* Migrate `::SearchTweet` to ActiveRecord [#15859](https://github.com/CartoDB/cartodb/pull/15859)
* Make import/export of user metadata resilient to missing feature flag [#15872](https://github.com/CartoDB/cartodb/pull/15872)
* Fix Organization.overquota exception logging [#15873](https://github.com/CartoDB/cartodb/pull/15873)
* Revamp Rubocop config

@ -160,7 +160,7 @@ module Carto
return Carto::FeatureFlagsUser.new(feature_flag_id: ff.id) if ff
log_warning(message: 'Feature flag not found in user import', feature_flag: ff.attributes)
log_warning(message: 'Feature flag not found in user import', feature_flag_name: ff_name)
nil
end

Loading…
Cancel
Save