Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab Data Team
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab Data
GitLab Data Team
Commits
a6c2641a
Commit
a6c2641a
authored
1 year ago
by
Paul Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
Log error.
parent
d2e22921
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
orchestration/drop_snowflake_objects.py
+2
-1
2 additions, 1 deletion
orchestration/drop_snowflake_objects.py
with
2 additions
and
1 deletion
orchestration/drop_snowflake_objects.py
+
2
−
1
View file @
a6c2641a
...
...
@@ -58,8 +58,9 @@ def get_list_of_clones(engine: Engine) -> List[str]:
logging
.
info
(
"
Getting list of databases...
"
)
connection
=
engine
.
connect
()
databases
=
[
row
[
0
]
for
row
in
connection
.
execute
(
query
).
fetchall
()]
except
:
except
Exception
as
exc
:
logging
.
info
(
"
Failed to get list of databases...
"
)
logging
.
info
(
exc
)
finally
:
connection
.
close
()
engine
.
dispose
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment