debug info

This commit is contained in:
Kikimanox
2022-08-29 16:20:25 +02:00
parent 44222fea39
commit ba944cfac0
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -11,6 +11,7 @@ database_info = {
'password': config('MDB_PASSWORD')
}
print("connecting to mariadb")
# Connect to MariaDB Platform
try:
@@ -19,6 +20,9 @@ except mariadb.Error as e:
print(f"Error connecting to MariaDB Platform: {e}")
sys.exit(1)
print("connected to mariadb")
# Get Cursor
cur = conn.cursor()