lalinsky / python-phoenixdb

Phoenix database adapter for Python (migrated to the Apache Phoenix repo)
https://issues.apache.org/jira/browse/PHOENIX-4636
Apache License 2.0
26 stars 24 forks source link

remove error message to stdout on python shutdown #19

Closed rbeauchemin closed 2 years ago

rbeauchemin commented 2 years ago

This resolves Issue #18 by catching ImportError on exit. Testing for del conn provides successful connection closure. Testing for sudden shutdown from sys.exit and ctrl+d causes no error message in stdout.

lalinsky commented 2 years ago

@rbeauchemin This project is now managed by the Phoenix team at https://github.com/apache/phoenix-queryserver/tree/master/python-phoenixdb