Closed Toastbroad closed 5 years ago
https://github.com/mrvilla/collection/blob/fc2f42d057590389ce0088c9507eae0217494e0a/src/app/shared/data/externtalData.js#L4
What about error handling here? If one of the fetches throws an error, the entire Promise.all fails also. This can be avoided :)
fetch
Promise.all
@Toastbroad yes, added a catch to each fetch. found out that my comicvine api does not work locally.
thanks again! QL
https://github.com/mrvilla/collection/blob/fc2f42d057590389ce0088c9507eae0217494e0a/src/app/shared/data/externtalData.js#L4
What about error handling here? If one of the
fetch
es throws an error, the entirePromise.all
fails also. This can be avoided :)