Tom Butcher 78a246726f
All checks were successful
farmcontrol/farmcontrol-server/pipeline/head This commit looks good
Refactor cancelSubJob method in PrinterClient for improved error handling and state management
- Updated the cancelSubJob method to accept a subJob object instead of an ID, enhancing clarity.
- Added comprehensive error handling for various failure scenarios, including connection status and missing job IDs.
- Implemented state checks to ensure only queued sub jobs can be canceled, improving robustness.
- Enhanced logging for better visibility into the cancellation process and outcomes.
- Updated PrinterManager to handle the new cancelSubJob action, integrating it into the existing command structure.
2026-11-08 23:59:53 +00:00
..