Added work-around logic for NewRelic error reporting