added configureErrorReporting