lib/solusvm/base.rb in solusvm-2.0.0.beta5 vs lib/solusvm/base.rb in solusvm-2.0.0.beta6

- old
+ new

@@ -97,9 +97,11 @@ raise AuthenticationError, "This IP is not authorized to use the API" when /Invalid id or key/i raise AuthenticationError, "Invalid ID or key" when /Node not found/i { "status" => "error", "statusmsg" => "Node does not exist" } + when /Virtual server not found/i + { "status" => "error", "statusmsg" => "Virtual server does not exist" } end else { "status" => "error", "statusmsg" => "Bad HTTP Status: #{status}" } end end