Skip to content

Commit

Permalink
spinner for log
Browse files Browse the repository at this point in the history
  • Loading branch information
nmr2701 committed May 30, 2024
1 parent 9ef4c18 commit 67990e1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def bootstrap_MongoDB_Prod(client, defined_collection_names):
db_prod.create_collection(collection)
print(f"[INFO] Collection '{collection}' created.")
spinner.stop()
sys.stdout.write("Deployment Test Comlpete with no erors\n")
spinner = Spinner("Deployment Test Comlpete with no erors\n")
spinner.start()
spinner.stop()
except Exception as err:
spinner.err()
print(f"[Error!] Error in Bootstrapping MongoDB Prod DB\nError: {err}")
Expand Down

0 comments on commit 67990e1

Please sign in to comment.