Always broadcast to chat on completion.
This commit is contained in:
parent
0d119eb9a6
commit
f881d9b95d
1 changed files with 3 additions and 3 deletions
|
@ -204,14 +204,14 @@ namespace BackupManager
|
|||
|
||||
SaveConfig();
|
||||
sw.Stop();
|
||||
Log($@"Done! Took {sw.Elapsed}.");
|
||||
Log($@"Done! Took {sw.Elapsed}.", true);
|
||||
|
||||
#if DEBUG
|
||||
Console.ReadLine();
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Log(object line)
|
||||
public static void Log(object line, bool forceSatori = false)
|
||||
{
|
||||
if (Headless)
|
||||
return;
|
||||
|
@ -226,7 +226,7 @@ namespace BackupManager
|
|||
|
||||
Console.WriteLine(line);
|
||||
|
||||
if (!(Config?.SatoriErrorsOnly ?? true))
|
||||
if (forceSatori || !(Config?.SatoriErrorsOnly ?? true))
|
||||
SatoriBroadcast(line.ToString());
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue