Skip to content

Commit 966cba8

Browse files
chg: fix: missing logging statements
1 parent 3d1a055 commit 966cba8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deep_reference_parser/parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, config_file):
7070
msg.good(f"Found {WORD_EMBEDDINGS}")
7171
except:
7272
msg.fail(f"Could not download {S3_SLUG}{WORD_EMBEDDINGS}")
73-
logger.exception()
73+
logger.exception("Could not download %s", WORD_EMBEDDINGS)
7474

7575
OUTPUT = cfg["build"]["output"]
7676
PRETRAINED_EMBEDDING = cfg["build"]["pretrained_embedding"]

deep_reference_parser/split.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self, config_file):
7474
msg.good(f"Found {WORD_EMBEDDINGS}")
7575
except:
7676
msg.fail(f"Could not download {S3_SLUG}{WORD_EMBEDDINGS}")
77-
logger.exception()
77+
logger.exception("Could not download %s", WORD_EMBEDDINGS)
7878

7979
OUTPUT = cfg["build"]["output"]
8080
PRETRAINED_EMBEDDING = cfg["build"]["pretrained_embedding"]

0 commit comments

Comments
 (0)