Skip to content

Commit 38eaa59

Browse files
committed
safety: setup-time message about updating unsafe-domains cache
Previous status message in the download function has been demoted to debug level, but it's still nice to confirm at startup that an update attempt is being made.
1 parent e767f3e commit 38eaa59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sopel/modules/safety.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def setup(bot: Sopel):
120120
# Python on Windows throws an exception if the file is in use
121121
LOGGER.warning('Could not delete %s: %s', old_file, str(err))
122122

123+
LOGGER.info('Ensuring unsafe domain list is up-to-date (safety plugin startup)')
123124
update_local_cache(bot, init=True)
124125

125126

0 commit comments

Comments
 (0)