mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
add http request-error handling, reset state on failed authority config
This commit is contained in:
parent
53cbb607d8
commit
9696890fb1
14
app/dns.hoon
14
app/dns.hoon
@ -205,7 +205,19 @@
|
||||
~& +<
|
||||
[~ this]
|
||||
==
|
||||
:: XX sigh-tang
|
||||
:: +sigh-tang: failed to make http request
|
||||
::
|
||||
++ sigh-tang
|
||||
|= [wir=wire saw=tang]
|
||||
^- (quip move _this)
|
||||
~& [%sigh-tang wir]
|
||||
?+ wir
|
||||
[((slog saw) ~) this]
|
||||
::
|
||||
[%authority %confirm ~]
|
||||
~& %authority-confirm-fail
|
||||
[((slog saw) ~) this(nem ~)]
|
||||
==
|
||||
::
|
||||
:: +poke-dns-authority: configure self as an authority
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user