Updated errors

This commit is contained in:
Jonathan Branan 2024-08-16 11:08:11 -05:00
parent 9c189aaf7a
commit adcced2c1a
2 changed files with 3 additions and 5 deletions

View File

@ -53,5 +53,4 @@ secret = ""
prd_instance_id = 1
product_guid = "asdf"
product_name = "EFT"
product_version ="8.1.0.9"
prd_ext_tenant_id = "e71851c2-593f-4f49-9c07-91727b1be94b"
product_version ="8.1.0.9"

View File

@ -44,7 +44,6 @@ class Inex:
self.logPath = self.config["logging"]["logPath"]
self.logLevel = self.config["logging"]["logLevel"]
self.prdInstanceID = self.config["immutables"]["prd_instance_id"]
self.prd_ext_tenant_id = self.config["immutables"]["prd_ext_tenant_id"]
self.productGUID = self.config["immutables"]["product_guid"]
self.productName = self.config["immutables"]["product_name"]
self.productVersion = self.config["immutables"]["product_version"]
@ -55,7 +54,7 @@ class Inex:
self.queryOverride = self.config["database"]["overrideEmbeddedquery"]
self.queryDaystopull = self.config["database"]["daysTopull"]
except:
print("No config.toml. Please use example file and configure appropriately")
print("No config.toml or possibly missing settings in the file. Please use example file and configure appropriately")
exit(1)
if "dev" in self.selectedPlatform.lower():
@ -76,7 +75,7 @@ class Inex:
self.modifiedData = processData(self.data, dataTemplate, prd_instance_id=self.prdInstanceID,\
product_guid=self.productGUID,product_name=self.productName,\
product_version=self.productVersion,prd_ext_tenant_id=self.prd_ext_tenant_id)
product_version=self.productVersion)
if self.pushToplatform:
inexConnect.fortraEFC.__init__(self)