debug output

This commit is contained in:
2021-01-17 18:16:36 +01:00
parent 2adca343cc
commit 876c99d790

View File

@ -20,7 +20,8 @@ def createConnectionPool():
host = host,
database = database,
pool_name = 'hv-wep-app',
pool_size = 5
pool_size = 5,
pool_reset_connection = True
)
def getConnection():
@ -40,6 +41,8 @@ def getMany(stmt, params, objName):
except Exception as err:
return str(err), 500
finally:
print("return connection in getMany")
cur.close()
dbh.close()
@ -58,5 +61,7 @@ def getOne(stmt, params, objName):
except Exception as err:
return str(err), 500
finally:
print("return connection in getOne")
cur.close()
dbh.close()