lib/fulmar/domain/service/file_sync_service.rb in fulmar-2.1.2 vs lib/fulmar/domain/service/file_sync_service.rb in fulmar-2.2.0

- old
+ new

@@ -15,10 +15,10 @@ when 'tar' transfer_model = Fulmar::Infrastructure::Model::Transfer::Tar.new(config) else help = config[:type] == '' ? 'Add a "type: " field to your deployment yaml file. ' : '' transfer_model = nil - fail "Transfer type '#{config[:type]}' is not valid. #{help}Valid values are: rsync, rsync_with_versions." + raise "Transfer type '#{config[:type]}' is not valid. #{help}Valid values are: rsync, rsync_with_versions." end transfer_model end end