huggingface_hub
67ae9118 - Add more error handling output to hf jobs cli commands (#3744)

Commit
13 days ago
Add more error handling output to hf jobs cli commands (#3744) * Add error handling to `hf jobs` commands Use CLIError for user-friendly error messages when job commands fail. Shows clean error message by default, full traceback with HF_DEBUG=1. Commands updated: - jobs stats: Catch HfHubHTTPError with status-code-aware messages - jobs logs: Handle invalid job ID errors - jobs inspect: Handle invalid job ID errors - jobs cancel: Handle invalid job ID and permission errors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Update src/huggingface_hub/cli/jobs.py --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: célina <hanouticelina@gmail.com>
Author
Parents
Loading