mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-22 08:46:15 +00:00
Fixed anonymization of database backup debug messages. Fixes #98.
This commit is contained in:
parent
f8984b25b1
commit
6276651b84
@ -238,7 +238,7 @@ class Database private constructor(var client: TelegramClient) {
|
|||||||
try {
|
try {
|
||||||
val src = user_manager.fileBase + Config.FILE_NAME_DB
|
val src = user_manager.fileBase + Config.FILE_NAME_DB
|
||||||
val dst = user_manager.fileBase + filename
|
val dst = user_manager.fileBase + filename
|
||||||
logger.debug("Copying {} to {}", src, dst)
|
logger.debug("Copying {} to {}", src.anonymize(), dst.anonymize())
|
||||||
Files.copy(
|
Files.copy(
|
||||||
File(src).toPath(),
|
File(src).toPath(),
|
||||||
File(dst).toPath())
|
File(dst).toPath())
|
||||||
|
Loading…
Reference in New Issue
Block a user