Improve task update data handling and error logging

Refactors task update logic in server/routes.ts to correctly handle undefined and empty string values, and enhances error logging by including task ID, error details, and request body.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/grlWN1D
This commit is contained in:
michaelschal committed 2025-08-19 11:15:48 +00:00
1 parent a2eecfb2ac
commit 54c637b7b6
2 files changed
+24 -11

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB