Fixed anonymization of database backup debug messages. Fixes #98.

This commit is contained in:
Fabian Schlenz 2018-03-13 06:46:59 +01:00
parent f8984b25b1
commit 6276651b84
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class Database private constructor(var client: TelegramClient) {
try {
val src = user_manager.fileBase + Config.FILE_NAME_DB
val dst = user_manager.fileBase + filename
logger.debug("Copying {} to {}", src, dst)
logger.debug("Copying {} to {}", src.anonymize(), dst.anonymize())
Files.copy(
File(src).toPath(),
File(dst).toPath())