SEBWIN-491: Changed default value for allowedDisplaysIgnoreFailure and fixed log message on error.

This commit is contained in:
Damian Büchel 2021-06-01 12:36:38 +02:00
parent ceb01441f5
commit f4f4f10343
2 changed files with 2 additions and 2 deletions

View file

@ -188,7 +188,7 @@ namespace SafeExamBrowser.Configuration.ConfigurationData
settings.ConfigurationMode = ConfigurationMode.Exam;
settings.Display.AllowedDisplays = 1;
settings.Display.IgnoreError = false;
settings.Display.IgnoreError = true;
settings.Display.InternalDisplayOnly = false;
settings.Keyboard.AllowAltEsc = false;

View file

@ -75,7 +75,7 @@ namespace SafeExamBrowser.Monitoring.Display
else
{
allowed = settings.IgnoreError;
logger.Info("Ignoring display setup validation error and allowing active setup.");
logger.Warn($"Failed to validate display configuration, {(allowed ? "ignoring error" : "active configuration is not allowed")}.");
}
return allowed;