sublime-sqlexec
sublime-sqlexec copied to clipboard
Missing password gives KeyError for pg
I don't use a password for my local postgresql database so I didn't specify the password
property for my connection. This worked so so.. This is what the console gives me when I try to List connections
:
Traceback (most recent call last):
File "SQLExec in /Users/jacob/Library/Application Support/Sublime Text 3/Installed Packages/SQLExec.sublime-package", line 140, in sqlChangeConnection
File "SQLExec in /Users/jacob/Library/Application Support/Sublime Text 3/Installed Packages/SQLExec.sublime-package", line 120, in __init__
KeyError: 'password'
Just adding "password": ""
fixes it but I thought this might be worth mentioning.