comfy-cli icon indicating copy to clipboard operation
comfy-cli copied to clipboard

Error Forwarding

Open mcmonkey4eva opened this issue 1 year ago • 2 comments

Currently when you comfy run (...) some workflow and it fails, eg because the comfy server failed to load, the CLI simply tells you "Workflow completed in 0.01 seconds" and nothing more.

It should ideally instead forward an error message

  • possibly on stderr?
  • should support fundamental errors like the backend server being missing
  • Should also make sure it properly forwards things like basic node errors
  • whenever comfy backend gives a clear error message, the CLI should display the full remote error text (don't shorten/simplify unless it's very confidently tracked to a more precise reason)

mcmonkey4eva avatar Jul 31 '24 22:07 mcmonkey4eva

For now, what could be the workaround for this. This seems to be quite necessary for me.

I am running comfy in background through comfy-cli and invoking workflows through run command. How can I check the errors?

abhinavzspace avatar Aug 20 '24 06:08 abhinavzspace

Any updates?

gmpetrov avatar Sep 09 '24 15:09 gmpetrov