Skip to content

Commit

Permalink
Add data to error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsen9026 committed Jan 23, 2024
1 parent 1c6fa3a commit 2558c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BLAZAM/Middleware/HttpsRedirectionMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task InvokeAsync(HttpContext context)
forceHttps = DatabaseCache.ApplicationSettings.ForceHTTPS;
}catch (NullReferenceException ex)
{
Loggers.SystemLogger.Error("Error while checking database cache for Force HTTPS", new object[] { ex, DatabaseCache.ApplicationSettings });
Loggers.SystemLogger.Error("Error while checking database cache for Force HTTPS {@Error}", ex);
forceHttps = false;
}

Expand Down

0 comments on commit 2558c20

Please sign in to comment.