Closed Bug 1896144 Opened 1 year ago Closed 1 month ago

nimbus-fml: Network requests don't look at the status code

Categories

(Application Services :: Nimbus SDK, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: beth, Assigned: emcminn)

Details

Attachments

(1 file)

If you attempt to fetch a file that does not exist with single-file, it will try to parse the response as the file content, even though the status code is 404. It should look at the status code and return a more appropriate error.

nimbus-cli fml -- single-file --channel release --ref bogus @mozilla-mobile/firefox-ios/nimbus.fml.yaml test
Error: Problem with https://raw.githubusercontent.com/mozilla-mobile/firefox-ios/bogus/nimbus.fml.yaml: YAML Error: unknown field `404` at line 1 column 4
Flags: needinfo?(brennie)
Assignee: nobody → emcminn
Flags: needinfo?(brennie)
Status: NEW → RESOLVED
Closed: 1 month ago
Flags: qe-verify+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: