diff --git a/src/BUTR.CrashReport.Server/Controllers/CrashUploadController.cs b/src/BUTR.CrashReport.Server/Controllers/CrashUploadController.cs index 36dbfcf..84ed7af 100644 --- a/src/BUTR.CrashReport.Server/Controllers/CrashUploadController.cs +++ b/src/BUTR.CrashReport.Server/Controllers/CrashUploadController.cs @@ -53,7 +53,7 @@ public Task CrashUploadAsync(CancellationToken ct) { if (Request.ContentLength is not { } contentLength || contentLength < _options.MinContentLength || contentLength > _options.MaxContentLength) { - _logger.LogWarning("Content length is invalid: {ContentLength}", Request.ContentLength); + _logger.LogWarning("Content length is invalid: {ContentLength}. Min: {MinContentLength}; Max: {MaxContentLength}", Request.ContentLength, _options.MinContentLength, _options.MaxContentLength); return Task.FromResult(StatusCode(StatusCodes.Status500InternalServerError)); }