forked from 3wordchant/capsul-flask
add logging around ssh keys to capsul creation to support a user who is
experiencing bugs
This commit is contained in:
@ -113,6 +113,8 @@ class DBModel:
|
||||
)
|
||||
|
||||
for ssh_public_key in ssh_public_keys:
|
||||
current_app.logger.info(f"INSERT INTO vm_ssh_public_key (email, vm_id, ssh_public_key_name) VALUES (\"{email}\", \"{id}\", \"{ssh_public_key}\")")
|
||||
|
||||
self.cursor.execute("""
|
||||
INSERT INTO vm_ssh_public_key (email, vm_id, ssh_public_key_name)
|
||||
VALUES (%s, %s, %s)
|
||||
|
Reference in New Issue
Block a user