From ed880fde28b977ade057bd021131a9f6bd4751cf Mon Sep 17 00:00:00 2001 From: ruuushhh <66899387+ruuushhh@users.noreply.github.com> Date: Wed, 11 Dec 2024 19:55:47 +0530 Subject: [PATCH] fix: error parser (#703) Co-authored-by: GitHub Actions --- apps/quickbooks_online/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/quickbooks_online/exceptions.py b/apps/quickbooks_online/exceptions.py index 97ee91a3..7380dd18 100644 --- a/apps/quickbooks_online/exceptions.py +++ b/apps/quickbooks_online/exceptions.py @@ -64,7 +64,7 @@ def handle_quickbooks_error(exception, expense_group: ExpenseGroup, task_log: Ta defaults={ 'error_title': error['type'], 'type': 'QBO_ERROR', - 'error_detail': error['long_description'], + 'error_detail': error_msg, 'is_resolved': False, 'is_parsed': is_parsed, 'attribute_type': attribute_type,