From 65357f3fc2eb062ec6fc57f9d6b17f982f6d2c3d Mon Sep 17 00:00:00 2001 From: Ashutosh619-sudo Date: Tue, 23 Apr 2024 17:53:30 +0530 Subject: [PATCH 1/2] Removing Error Parser --- netsuitesdk/internal/client.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/netsuitesdk/internal/client.py b/netsuitesdk/internal/client.py index 50ac36b..92a1d87 100644 --- a/netsuitesdk/internal/client.py +++ b/netsuitesdk/internal/client.py @@ -515,16 +515,6 @@ def upsert(self, record, record_type=None): return record_ref else: exc = self._request_error('upsert', detail=status['statusDetail'][0]) - - if record_type: - try: - error_parser = ErrorParser(self.get) - error_dict = export_error_matcher(exc.message, record_type) - message = error_parser.export_error_parser(error_dict, exc.message) - exc.message = message - except Exception as e: - self.logger.debug('Error parsing error message', e.message) - raise exc def basic_stringfield_search(self, type_name, attribute, value, operator=None): From cb857ad2382fa875a4d9988b87d69740ccb179cb Mon Sep 17 00:00:00 2001 From: Ashutosh619-sudo Date: Mon, 29 Apr 2024 16:57:14 +0530 Subject: [PATCH 2/2] change version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e363008..d0c3154 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='netsuitesdk', - version='2.21.1', + version='2.21.2', author='Siva Narayanan', author_email='siva@fyle.in', description='Python SDK for accessing the NetSuite SOAP webservice',