Sloved missing veriable issue
This commit is contained in:
parent
0561e356d8
commit
f6e8a0d5e2
@ -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]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user