[PATCH 09/11] Fix do not emit error if extended error has emitted