mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Add explicit error at the end of update_from_auction method
This commit is contained in:
parent
04af820b94
commit
d0f3ef0fa0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue