mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-30 13:33:42 +08:00
Replace bare except clauses with specific exception types in: - comfy/sd.py: VAE.spacial_compression_decode/encode and temporal_compression_decode - comfy/sd1_clip.py: token_weights and load_embed functions - comfy/weight_adapter/lora.py: LoRAAdapter.load This ensures that: - Only relevant exceptions are caught (not SystemExit, KeyboardInterrupt) - Debugging is easier as unexpected errors will propagate - Follows Python best practices for exception handling |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| boft.py | ||
| bypass.py | ||
| glora.py | ||
| loha.py | ||
| lokr.py | ||
| lora.py | ||
| oft.py | ||