Pass environment value to ExceptionCatcher