Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
kimakan committed Dec 10, 2024
1 parent a8e1f09 commit 2258ebf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daiquiri/core/adapter/database/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ def fetch_columns(self, schema_name, table_name):
except ProgrammingError as e:
logger.error('Could not fetch columns from %s.%s (%s)', schema_name, table_name, e)
return []
except Exception as e:
logger.error('Could not fetch columns from %s.%s (%s)', schema_name, table_name, e)
return []
else:
columns = []
for row in rows:
Expand All @@ -200,6 +197,9 @@ def fetch_column(self, schema_name, table_name, column_name):
except ProgrammingError as e:
logger.error('Could not fetch %s.%s.%s (%s)', schema_name, table_name, column_name, e)
return {}
except Exception as e:
logger.error('Could not fetch columns from %s.%s (%s)', schema_name, table_name, e)
return []
else:
return {
'name': row[0],
Expand Down

0 comments on commit 2258ebf

Please sign in to comment.