Closed bb-work closed 5 years ago
When a URL returned a non-200 status code, the promise neither resolved nor rejected. This fix causes the promise to correctly reject on a bad status code.
Merged and fixed here: https://github.com/LevelNewsOrg/url-metadata/commit/6412d87ca0e950a8d2068432d80cd0b431f2038d
When a URL returned a non-200 status code, the promise neither resolved nor rejected. This fix causes the promise to correctly reject on a bad status code.