docson
docson copied to clipboard
Fix failure to render a schema containing unresolvable refs
When the HTTP request to retrieve a referenced external schema failed, the promise rejection was not properly routed to the promise the rendering code was waiting on, so it continued waiting indefinitely and rendered nothing.
When combined with #81 and #80, this causes the “invoice” and “example2” examples in test.html to appear, which were previously missing.