commit | 6c7f02959762422fd616905771eaa2e662ed97e3 | [log] [tgz] |
---|---|---|
author | rohitwaghchaure <rohitw1991@gmail.com> | Sat Mar 27 09:59:51 2021 +0530 |
committer | GitHub <noreply@github.com> | Sat Mar 27 09:59:51 2021 +0530 |
tree | 5a2574d31550d1fbf7a406a0992ada5b37c645df | |
parent | e825d2ab51ca53cd8fe89d953c12f8477aedd4c1 [diff] | |
parent | e9c801e4bd5c2692de28aab8dfc5168b560c5798 [diff] |
Merge pull request #25016 from hasnain2808/fix-ams-error-v13-pre-release fix: ams integration breaks when error raised
diff --git a/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_methods.py b/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_methods.py index cc75a0a..148c1a6 100644 --- a/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_methods.py +++ b/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_methods.py
@@ -117,7 +117,7 @@ return response except Exception as e: delay = math.pow(4, x) * 125 - frappe.log_error(message=e, title=str(mws_method)) + frappe.log_error(message=e, title=f'Method "{mws_method.__name__}" failed') time.sleep(delay) continue