Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMoore committed Nov 23, 2023
1 parent 53500af commit 61e44f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def list_tables(database_name: str, logger: DataPlatformLogger) -> list[dict]:
except ClientError as e:
if e.response["Error"]["Code"] == "AlreadyExistsException":
logger.error(f"Database name {database_name} not found.")
return None
return []
else:
logger.error("Unexpected error: %s" % e)
raise
Expand Down

0 comments on commit 61e44f2

Please sign in to comment.