minor refactor in NewRelicErrorReporter