Adds informative console error as requested in earlier review.

* This addresses a request from hatch that the _addIconsToUnits method log an
  error under certain failure modes that would otherwise be silent.