Just throw an error to see what the CI does.
This commit is contained in:
parent
dbdf2c0c10
commit
dae94e63fc
1 changed files with 4 additions and 3 deletions
|
|
@ -347,10 +347,11 @@ class MarkItDown:
|
||||||
_kwargs["_parent_converters"] = self._page_converters
|
_kwargs["_parent_converters"] = self._page_converters
|
||||||
|
|
||||||
# If we hit an error log it and keep trying
|
# If we hit an error log it and keep trying
|
||||||
try:
|
# try:
|
||||||
|
if True:
|
||||||
res = converter.convert(local_path, **_kwargs)
|
res = converter.convert(local_path, **_kwargs)
|
||||||
except Exception:
|
# except Exception:
|
||||||
error_trace = ("\n\n" + traceback.format_exc()).strip()
|
# error_trace = ("\n\n" + traceback.format_exc()).strip()
|
||||||
|
|
||||||
if res is not None:
|
if res is not None:
|
||||||
# Normalize the content
|
# Normalize the content
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue