Skip to content

Commit

Permalink
remove url from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Oct 11, 2024
1 parent 3a1a043 commit 89f7133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trustregistry/migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
db_url = os.environ.get("POSTGRES_DATABASE_URL")

if db_url:
logger.info(f"Using database URL from environment: {db_url}")
logger.debug(f"Using database URL from environment")

Check warning

Code scanning / Prospector (reported by Codacy)

f-string is missing placeholders (F541) Warning

f-string is missing placeholders (F541)

Check notice

Code scanning / Pylintpython3 (reported by Codacy)

Using an f-string that does not have any interpolated variables Note

Using an f-string that does not have any interpolated variables
config.set_main_option("sqlalchemy.url", db_url)
else:
logger.warning(
Expand Down

0 comments on commit 89f7133

Please sign in to comment.