Skip to content

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

@bmingles

Description

@bmingles

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttriageIssue requires triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions