starting to think about better error handling in indirect emr