Skip to content

Commit

Permalink
address @charles-cowart comment
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed May 7, 2024
1 parent 5542328 commit fa068d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qiita_db/environment_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ def drop_environment(ask_for_confirmation):
# environment and clean up
if 'UNDEFINED_TABLE. MSG: relation "settings"' in str(e):
is_test_environment = True
else:
raise
qdb.sql_connection.TRN.close()

if is_test_environment:
Expand Down

0 comments on commit fa068d2

Please sign in to comment.