Open
Bug 1896144
Opened 1 year ago
Updated 16 days ago
nimbus-fml: Network requests don't look at the status code
Categories
(Application Services :: Nimbus SDK, defect)
Application Services
Nimbus SDK
Tracking
(Not tracked)
NEW
People
(Reporter: beth, Unassigned, NeedInfo)
Details
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
Reporter | ||
Updated•16 days ago
|
Flags: needinfo?(brennie)
You need to log in
before you can comment on or make changes to this bug.
Description
•