fix: Makes logging more consistent (#1246)
This commit is contained in:
parent
8e0d01d4be
commit
d8cfb6b935
15 changed files with 90 additions and 69 deletions
|
|
@ -112,11 +112,11 @@ namespace Server.Misc
|
|||
DirectoryCopy(savePath, backupPath);
|
||||
}
|
||||
|
||||
logger.Information("Backup done");
|
||||
logger.Information("Backup {Status}", "done");
|
||||
}
|
||||
catch
|
||||
{
|
||||
logger.Error("Backup failed");
|
||||
logger.Error("Backup {Status}", "failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue