Skip to content

Commit

Permalink
Remove unnecessary bits from exception print
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk-dev authored and eliteprox committed Aug 9, 2024
1 parent 920c343 commit 072ac62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/app/pipelines/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def load_loras(pipeline: any, requested_loras: str):
pipeline.load_lora_weights(adapter, adapter_name=adapter)
except Exception as e:
logger.warning(
"Unable to load LoRas for adapter '" + adapter + "'. " + type(e).__name__ + ": " + str(e)
"Unable to load LoRas for adapter '" + adapter + "' (" + type(e).__name__ + ")"
)
continue
# Remember adapter name and their associated strength
Expand Down

0 comments on commit 072ac62

Please sign in to comment.