Skip to content

Commit 2f80da3

Browse files
committed
replace print with logger
1 parent c92f346 commit 2f80da3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/jobs/housing/housing_nec_migration_apply_gx_dq_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def main():
7373
try:
7474
df = pd.read_sql_query(sql_query, conn)
7575
except Exception as e:
76-
print(f"Problem found with {table}: {e}, skipping table.")
76+
logger.info(f"Problem found with {table}: {e}, skipping table.")
7777
continue
7878

7979
# set up batch
@@ -136,7 +136,7 @@ def main():
136136
try:
137137
list(df[id_field].iloc[row["result.unexpected_index_list"]])
138138
except Exception as e:
139-
print(
139+
logger.info(
140140
f"Problem found with {table}: {e}, skipping making unexpected_id_list."
141141
)
142142
continue

0 commit comments

Comments
 (0)