app/models/setting.rb in fat_free_crm-0.15.2 vs app/models/setting.rb in fat_free_crm-0.16.0
- old
+ new
@@ -85,10 +85,10 @@
# Returns false if table or database is unavailable.
# Catches all database-related errors, so that Setting will return nil
# instead of crashing the entire application.
table_exists?
- rescue
+ rescue StandardError
false
end
# Loads settings from YAML files
def load_settings_from_yaml(file)