Created
November 17, 2020 19:08
-
-
Save kjs3/7d0790d3a7a2e79322349625bb03776c to your computer and use it in GitHub Desktop.
Malformed Response Failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const got = require('got') | |
main() | |
async function main() { | |
const url = 'https://read.audioarchitect.co/feed/podcast' | |
try { | |
console.log('getting: ', url) | |
const res = await got(url) | |
console.log('res: ', res) | |
console.log('never here') | |
} catch (err) { | |
console.error(err) | |
console.log('not here either') | |
} | |
console.log('wtf') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment