Skip to content

Commit

Permalink
Fix error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Qstick committed Sep 2, 2024
1 parent f88b502 commit 4e8d2b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using FluentMigrator.Runner;
using FluentMigrator.Runner.Logging;
using Microsoft.Extensions.Logging;
Expand Down Expand Up @@ -53,7 +53,7 @@ protected override void WriteError(string message)

protected override void WriteError(Exception exception)
{
_logger.LogInformation("Error", exception);
_logger.LogInformation(exception, "Error");
}
}
}

0 comments on commit 4e8d2b5

Please sign in to comment.