Browse Source

fix(document_extractor): update base exception class (#10208)

-LAN- 5 tháng trước cách đây
mục cha
commit
ec6a03afdd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/core/workflow/nodes/document_extractor/exc.py

+ 1 - 1
api/core/workflow/nodes/document_extractor/exc.py

@@ -1,4 +1,4 @@
-class DocumentExtractorError(Exception):
+class DocumentExtractorError(ValueError):
     """Base exception for errors related to the DocumentExtractorNode."""