Move emiting of event out of try/catch