Wrap VMAP/mediaGen parse in a try/catch and emit error event.