deephaven / web-client-ui

Deephaven Web Client UI
Apache License 2.0
29 stars 31 forks source link

jsapi-nodejs downloader should raise error on 404 status #2271

Closed bmingles closed 3 weeks ago

bmingles commented 3 weeks ago

The jsapi-nodejs downloader currently saves html text for a 404 page if an incorrect jsapi url is provided. This surfaces later when attempting to import the module with an error message about invalid < character which is not very helpful in diagnosing the problem. We should add an explicit 404 check.