mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-14 10:15:31 +02:00
Log the WebUI server error
This commit is contained in:
@ -256,7 +256,7 @@ def generate_images(
|
||||
else:
|
||||
if res.status_code == 500:
|
||||
res = res.json()
|
||||
log.error(f"Server error: {res['message']}")
|
||||
log.error(f"Server error: {res}")
|
||||
raise Exception(f"{res['message']}. Please check the logs in the command-line window for more details.")
|
||||
|
||||
raise Exception(
|
||||
|
Reference in New Issue
Block a user