Bug Description
Cron table formatting crashes when displaying jobs with undefined values in the schedule or state fields.
Error Details
Location:
Error:
Frequency: Repeats approximately every 60 seconds
Steps to Reproduce
- Create a cron job with missing or undefined fields in the schedule or state
- Run 'openclaw cron list' or let the cron table formatter run
- Observe the TypeError in logs
Expected Behavior
The formatter should gracefully handle undefined/null values by showing empty strings or "N/A" rather than crashing.
Actual Behavior
Environment
- OpenClaw Version: 2026.3.28
- Node Version: v25.8.0
- OS: Linux (WSL2)
Suggested Fix
Add null/undefined checks before calling on values in the cron table formatter. Something like:
Impact
This error appears frequently in logs and may interfere with cron job monitoring and debugging. It doesn't seem to affect actual job execution, but it clutters logs and makes troubleshooting harder.
Additional Context
Error observed when running with multiple cron jobs, some of which have missing state fields or undefined schedule values. The error appears to originate from the table formatting code that displays job status in the CLI.
Happy to provide more details or test a fix if needed!
Bug Description
Cron table formatting crashes when displaying jobs with undefined values in the schedule or state fields.
Error Details
Location:
Error:
Frequency: Repeats approximately every 60 seconds
Steps to Reproduce
Expected Behavior
The formatter should gracefully handle undefined/null values by showing empty strings or "N/A" rather than crashing.
Actual Behavior
Environment
Suggested Fix
Add null/undefined checks before calling on values in the cron table formatter. Something like:
Impact
This error appears frequently in logs and may interfere with cron job monitoring and debugging. It doesn't seem to affect actual job execution, but it clutters logs and makes troubleshooting harder.
Additional Context
Error observed when running with multiple cron jobs, some of which have missing state fields or undefined schedule values. The error appears to originate from the table formatting code that displays job status in the CLI.
Happy to provide more details or test a fix if needed!