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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user