1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 07:43:54 +00:00

[BEEEP] Fix all CA2254 occurrences (#6357)

* Fix all CA2254 occurrences

* Fix tests
This commit is contained in:
Justin Baur
2025-10-20 11:34:31 -04:00
committed by GitHub
parent 43779cf2e8
commit c6f1acede9
21 changed files with 45 additions and 35 deletions

View File

@@ -53,7 +53,7 @@ public class DbMigrator
if (ex.Message.Contains("Server is in script upgrade mode."))
{
attempt++;
_logger.LogInformation($"Database is in script upgrade mode, trying again (attempt #{attempt}).");
_logger.LogInformation("Database is in script upgrade mode, trying again (attempt #{Attempt}).", attempt);
Thread.Sleep(20000);
}
else
@@ -165,7 +165,7 @@ public class DbMigrator
{
stringBuilder.AppendLine(script.Name);
}
_logger.LogInformation(Constants.BypassFiltersEventId, stringBuilder.ToString());
_logger.LogInformation(Constants.BypassFiltersEventId, "{Scripts}", stringBuilder.ToString());
return true;
}