Add explicit error at the end of update_from_auction method

This commit is contained in:
Maciej Szlosarczyk 2019-04-04 16:31:11 +03:00
parent 04af820b94
commit d0f3ef0fa0
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -17,7 +17,9 @@ module Whois
update!(json: { name: auction.domain,
status: ['PendingRegistration'],
disclaimer: self.class.disclaimer })
else
raise "Unknown status: #{auction.status}"
end
end
end
end
end