Skip to content

Commit 680165e

Browse files
committed
[.] Change print message
1 parent 51d836e commit 680165e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ def insert(mongo_uri: str, mongo_db: str, mongo_collection: str, jsonfile: str)
2525
collection = db[mongo_collection]
2626
collection.insert_one(raw_data_from_file)
2727
client.close()
28-
print("Inset Done!")
28+
print("Insert Success ✅")
2929
except errors.DuplicateKeyError:
30-
print("Duplicate key!")
30+
print("Duplicate key ⚠️")
3131
except Exception as err:
32-
print(f"Error somethings {err}")
32+
print(f"Error something went wrong {err}")
3333

3434

3535
if __name__ == "__main__":

0 commit comments

Comments
 (0)