Method: ActiveModel::Datastore::ClassMethods#log_google_cloud_error
- Defined in:
- lib/active_model/datastore.rb
permalink #log_google_cloud_error ⇒ Object
[View source]
437 438 439 440 441 442 |
# File 'lib/active_model/datastore.rb', line 437 def log_google_cloud_error yield rescue Google::Cloud::Error => e puts "\e[33m[#{e..inspect}]\e[0m" raise e end |