Skip to content

Commit

Permalink
Properly reset logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTyton committed May 28, 2024
1 parent 5dfd386 commit dd4d1e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion release-versions/latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.05.28
2024.05.28-1
4 changes: 1 addition & 3 deletions root/app/url_ingester.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ def get_urls(self) -> set[str]:
except Exception as e:
logging.disable(old_level)
ff_logging.log_failure(f"Failed to get URLs: {e}")
finally:
# Restore the old logging level
logging.disable(old_level)
logging.disable(old_level)
return urls


Expand Down

0 comments on commit dd4d1e4

Please sign in to comment.