Skip to content

Commit

Permalink
ErrorCodes to be raised as errors in log file
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesueur Benjamin committed Aug 21, 2020
1 parent 1838ab6 commit 663d042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DockerForm/DatabaseManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ public static void SanityCheck()
{
switch(game.ErrorCode)
{
case ErrorCode.MissingExecutable: Form1.UpdateLog("[" + game.Name + "]" + " has an unreachable executable"); break;
case ErrorCode.MissingFolder: Form1.UpdateLog("[" + game.Name + "]" + " has an unreachable folder"); break;
case ErrorCode.MissingSettings: Form1.UpdateLog("[" + game.Name + "]" + " has no settings defined"); break;
case ErrorCode.MissingExecutable: Form1.UpdateLog("[" + game.Name + "]" + " has an unreachable executable", true); break;
case ErrorCode.MissingFolder: Form1.UpdateLog("[" + game.Name + "]" + " has an unreachable folder", true); break;
case ErrorCode.MissingSettings: Form1.UpdateLog("[" + game.Name + "]" + " has no settings defined", true); break;
}

continue;
Expand Down

0 comments on commit 663d042

Please sign in to comment.