Updating edi listener to grab errors.