Skip to content

Commit

Permalink
Improve error message on jpype importing
Browse files Browse the repository at this point in the history
It was confusing that the warning message shows "Error". It should use other wording.
  • Loading branch information
chezou authored May 15, 2024
1 parent 1e78f69 commit 2dc676c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabula/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, java_options: List[str], silent: Optional[bool]) -> None:

except (ModuleNotFoundError, ImportError) as e:
logger.warning(
"Error importing jpype dependencies. Fallback to subprocess."
"Failed to import jpype dependencies. Fallback to subprocess."
)
logger.warning(e)
self.tabula = None
Expand Down

0 comments on commit 2dc676c

Please sign in to comment.