message: added missing catch to media promise.all
diff: @@ -375,7 +375,14 @@ export default class PptxGenJS {
  arrMediaPromises = arrMediaPromises.concat(genMedia.encodeSlideMediaRels(this.masterSlide))
  // STEP 2: Wait for Promises (if any) then generate the PPTX file
  - Promise.all(arrMediaPromises).then(() => {
  + Promise.all(arrMediaPromises)
  + .catch(err => {
  + console.error(`ERROR! pptxgenjs export media:`)
  + console.error(err)
  + return null
  + // FIXME: TODO: 20200107: if one image fails to load (eg 404), then *NONE* of the images load b/c of the `.all`...
  + })
  + .then(() => {
  // A: Add empty placeholder objects to slides that don't already have them
  this.slides.forEach(slide => {
  if (slide.slideLayout) genObj.addPlaceholdersToSlideLayouts(slide)
  @@ -448,7 +455,7 @@ export default class PptxGenJS {
  }
  })
  .catch(err => {
  - reject(err)
  + throw new Error(err)
  })
  })
  })
  