diff --git a/ocean_provider/utils/util.py b/ocean_provider/utils/util.py index c46c2783..483f48ff 100644 --- a/ocean_provider/utils/util.py +++ b/ocean_provider/utils/util.py @@ -60,11 +60,11 @@ def get_service_files_list( files_json["datatokenAddress"] ) != Web3.toChecksumAddress(service.datatoken_address): raise Exception( - f"Provider {network_name}: Invalid datatokenAddress. Got {files_json['datatokenAddress']} vs expected {service.datatoken_address}" + f"Provider {network_name}: Mismatch of datatoken. Got {files_json['datatokenAddress']} vs expected {service.datatoken_address}" ) except Exception as e: raise Exception( - f"Provider {network_name}: Mismatch of datatoken. Got {files_json['datatokenAddress']} vs expected {service.datatoken_address}" + f"Provider {network_name}: Invalid datatokenAddress. Got {files_json['datatokenAddress']} vs expected {service.datatoken_address}" ) try: @@ -72,11 +72,11 @@ def get_service_files_list( files_json["nftAddress"] ) != Web3.toChecksumAddress(asset.nftAddress): raise Exception( - f"Provider {network_name}: Invalid nftAddress. Got {files_json['nftAddress']} vs expected {asset.nftAddress}" + f"Provider {network_name}: Mismatch of dataNft. Got {files_json['nftAddress']} vs expected {asset.nftAddress}" ) except: raise Exception( - f"Provider {network_name}: Mismatch of dataNft. Got {files_json['nftAddress']} vs expected {asset.nftAddress}" + f"Provider {network_name}: Invalid nftAddress. Got {files_json['nftAddress']} vs expected {asset.nftAddress}" ) files_list = files_json["files"] if not isinstance(files_list, list):