Skip to content

Commit

Permalink
small fix in outputs to ignore empty queries (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-harder authored Sep 27, 2023
1 parent 94d54b5 commit 9dcd4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assume/common/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ async def on_stop(self):
for query in queries:
try:
df = pd.read_sql(query, self.db)
except (OperationalError, DataError):
except (ProgrammingError, OperationalError, DataError):
continue
except Exception as e:
logger.error("could not read query: %s", e)
Expand Down

0 comments on commit 9dcd4d5

Please sign in to comment.