handle iris error

This commit is contained in:
Philip Monk 2019-08-02 10:16:05 -07:00
parent 1391ecafd3
commit d3d3cecb0b
No known key found for this signature in database
GPG Key ID: B66E1F02604E44EC

View File

@ -78,7 +78,9 @@
=/ m (async:stdio ,(unit json))
^- form:m
?> ?=(%finished -.client-response)
=/ body=@t q.data:(need full-file.client-response)
?~ full-file.client-response
(pure:m ~)
=/ body=@t q.data.u.full-file.client-response
=/ jon=(unit json) (de-json:html body)
?~ jon
(pure:m ~)