Skip to content

Commit

Permalink
fix error check logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Bisom committed Apr 16, 2024
1 parent 55017b7 commit 22736dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/src/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ class database_connection:
connection: pymysql.Connection

def __init__(self, app):
print('\nVars')
print(app.config["MYSQL_DATABASE_HOST"])
print(database=app.config["MYSQL_DATABASE_DB"],)
print(app.config["MYSQL_DATABASE_DB"])
print('\n')
self.connection = pymysql.connect(
host=app.config["MYSQL_DATABASE_HOST"],
user=app.config["MYSQL_DATABASE_USER"],
Expand Down

0 comments on commit 22736dd

Please sign in to comment.