I run self.FailRender not from the main thread, could that cause issues? At the moment it returns an exception, but the process hangs, it doesnt complete neither fail
this is what comes from the thread:
if response['status_code'] != 200:
self.LogWarning(f"Error queuing prompt: {response['text']}")
self.FailRender(f"Error queuing prompt: {response['text']}")
raise FailRenderException(f"ComfyUI error: {error_msg}", ManagedProcess.AbortLevel.Fatal)```
both FailRender and FailRenderExecution won't do nothing