This commit is contained in:
@@ -72,7 +72,7 @@ namespace AyaNova
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"Unable to locate or create server file folders error was: {ex.Message}");
|
||||
Console.WriteLine($"Unable to locate or create server file folders error was: {ex.Message}");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -232,8 +232,26 @@ namespace AyaNova
|
||||
|
||||
|
||||
//Log environmental settings
|
||||
var UtilityFilesAvailableSpace = FileUtil.BackupFilesDriveAvailableSpace();
|
||||
var AttachmentFilesAvailableSpace = FileUtil.AttachmentFilesDriveAvailableSpace();
|
||||
long UtilityFilesAvailableSpace = 0;
|
||||
try
|
||||
{
|
||||
UtilityFilesAvailableSpace = FileUtil.BackupFilesDriveAvailableSpace();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.Error(ex, "FileUtil::UtilityFilesDriveAvailableSpace error getting available space");
|
||||
}
|
||||
|
||||
long AttachmentFilesAvailableSpace = 0;
|
||||
try
|
||||
{
|
||||
AttachmentFilesAvailableSpace = FileUtil.AttachmentFilesDriveAvailableSpace();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.Error(ex, "FileUtil::AttachmentFilesDriveAvailableSpace error getting available space");
|
||||
}
|
||||
|
||||
|
||||
logger.Info("OS - {0}", Environment.OSVersion.ToString());
|
||||
logger.Info("TimeZone - {0}", TimeZoneInfo.Local.DisplayName);
|
||||
|
||||
Reference in New Issue
Block a user