I am using axios to make some API request like so
var urls = ['url1','url2','url3']
var promises = urls.map(url=> axios.get(url));
const responses = await Promise.allSettled(promises)
console.log(responses)
I know that these url returning 400 with a fault message. But the console show
]
{ status: 'fulfilled', value: undefined }
{ status: 'fulfilled', value: undefined }
{ status: 'fulfilled', value: undefined }
[
Shouldn't I get something in value, like the status code and the fault message?