lib/shelly/cli/backup.rb in shelly-0.3.1 vs lib/shelly/cli/backup.rb in shelly-0.3.2
- old
+ new
@@ -130,10 +130,10 @@
say "Uploading done", :green
say "Importing database", :green
app.import_database(kind, archive, connection["server"])
say "Database imported successfully", :green
rescue Client::ConflictException => e
- say_error e[:message]
+ say_error "Cloud #{app} wasn't deployed properly. Cannot import database."
end
no_tasks do
def compress(filename)
archive_name = "#{::File.basename(filename)}-#{Time.now.to_i}.tar.bz2"