From 5b41f687d0cc389713273311d7dbeffc48d477cf Mon Sep 17 00:00:00 2001 From: glax Date: Sat, 3 Jun 2023 22:34:02 +0200 Subject: [PATCH] Kavita naming convention --- Tranga/Connector.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tranga/Connector.cs b/Tranga/Connector.cs index 47ed2cf..2a3f445 100644 --- a/Tranga/Connector.cs +++ b/Tranga/Connector.cs @@ -125,6 +125,10 @@ public abstract class Connector logger?.WriteLine(this.GetType().ToString(), $"Moving old file {oldFilePath2} -> {newFilePath}"); File.Move(oldFilePath2, newFilePath); } + else + { + logger?.WriteLine(this.GetType().ToString(), $"No old files found:\n{oldFilePath}\n{oldFilePath2}"); + } return File.Exists(newFilePath); }