if emit is failed, do nothing.  just commit.