Skip to content

Commit fa1e7d5

Browse files
authored
Merge pull request #21608 from abpframework/auto-merge/rel-9-0/3291
Merge branch dev with rel-9.0
2 parents 2245eed + b674ff2 commit fa1e7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/EfCoreRuntimeDatabaseMigratorBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ protected virtual async Task TryAsync(Func<Task> task, int maxTryCount = 3)
135135
throw;
136136
}
137137

138-
Logger.LogWarning($"{ex.GetType().Name} has been thrown. The operation will be tried {maxTryCount} times more. Exception:\n{ex.Message}. Stack Trace:\n{ex.StackTrace}");
138+
Logger.LogWarning(ex, $"{ex.GetType().Name} has been thrown. The operation will be tried {maxTryCount} times more.");
139139

140140
await Task.Delay(RandomHelper.GetRandom(MinValueToWaitOnFailure, MaxValueToWaitOnFailure));
141141

0 commit comments

Comments
 (0)