add http request-error handling, reset state on failed authority config

This commit is contained in:
Joe Bryan 2018-06-18 22:59:50 -04:00
parent 53cbb607d8
commit 9696890fb1

View File

@ -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
::