Skip to content

Commit 2634e0f

Browse files
author
Bob Strahan
committed
raise exception from outer catch block
1 parent 6155da0 commit 2634e0f

File tree

1 file changed

+2
-0
lines changed
  • lib/idp_common_pkg/idp_common/classification

1 file changed

+2
-0
lines changed

lib/idp_common_pkg/idp_common/classification/service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,8 @@ def classify_document(self, document: Document) -> Document:
11241124
document = self._update_document_status(
11251125
document, success=False, error_message=error_msg
11261126
)
1127+
# raise exception to enable client retries
1128+
raise
11271129

11281130
return document
11291131

0 commit comments

Comments
 (0)