lib/shelly/cli/backup.rb in shelly-0.1.19 vs lib/shelly/cli/backup.rb in shelly-0.1.20

- old
+ new

@@ -64,10 +64,11 @@ end app.request_backup(kind || cloudfile.backup_databases(app)) say "Backup requested. It can take up to several minutes for " + "the backup process to finish.", :green rescue Client::ValidationException => e - say_error e[:message] + e.each_error { |error| say_error error, :with_exit => false } + exit 1 rescue Client::ConflictException => e say_error e[:message] end desc "restore FILENAME", "Restore database to state from given backup"