Skip to content

Commit

Permalink
Change logger info to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivie Franklova (CZ) authored and Olivie Franklova (CZ) committed Jun 6, 2024
1 parent 6844166 commit 3f1abc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions column2Vec/Column2Vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ def __read(self):
try:
self.__cache = pd.io.parsers.read_csv(self.__file, index_col=0)
except FileNotFoundError:
logger.info("CACHE: File not found.")
logger.warning("CACHE: File not found.")
except pd.errors.EmptyDataError:
logger.info("CACHE: No data")
logger.warning("CACHE: No data")
except pd.errors.ParserError:
logger.info("CACHE: Parser error")
logger.warning("CACHE: Parser error")

def get_cache(self, key: str, function: str) -> list | None:
"""
Expand Down

0 comments on commit 3f1abc4

Please sign in to comment.