diff --git a/app/models/whois/record.rb b/app/models/whois/record.rb index d94c723ad..11c191cbd 100644 --- a/app/models/whois/record.rb +++ b/app/models/whois/record.rb @@ -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 \ No newline at end of file +end