瀏覽代碼

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

-LAN- 5 月之前
父節點
當前提交
ec6a03afdd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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."""