Sloved missing veriable issue

This commit is contained in:
ashutosh.nehete 2025-10-06 15:29:56 +05:30
parent 0561e356d8
commit f6e8a0d5e2

View File

@ -683,8 +683,8 @@ namespace Marco.Pms.Services.Controllers
catch (Exception ex) catch (Exception ex)
{ {
_logger.LogError(ex, _logger.LogError(ex,
"GetExpenseReportByProjects failed. TenantId={TenantId}, StartDate={StartDate}, EndDate={EndDate}", "GetExpenseReportByProjects failed. TenantId={TenantId}",
tenantId, start, end); // [Error Log] tenantId); // [Error Log]
return StatusCode(500, return StatusCode(500,
ApiResponse<object>.ErrorResponse("An error occurred while fetching the expense report.", 500)); // [Error Response] ApiResponse<object>.ErrorResponse("An error occurred while fetching the expense report.", 500)); // [Error Response]
} }