featured-image: better diagnostics in error case

Authored by bearND on Tue, Nov 14, 5:04 AM.

Description

featured-image: better diagnostics in error case

We don't want to have the promise return undefined if an error occurs.
Instead re-throw the error so it doesn't go into the then block.
Hopefully this will provide better diagnostics in the future if the same
thing happens again.

Bug: T180420
Change-Id: I607cf4be08a040de36e45ea531a4f0cb310a95c6

Details