better error when something is completly broken
This commit is contained in:
+3
-2
@@ -1,9 +1,10 @@
|
||||
import traceback
|
||||
|
||||
try:
|
||||
from .more_math.nodes import comfy_entrypoint as comfy_entrypoint
|
||||
except ImportError:
|
||||
# During testing, comfy_api may not be available
|
||||
# This is fine - tests import modules directly
|
||||
print("Something is seriously wrong")
|
||||
traceback.print_exc()
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
__all__ = ["comfy_entrypoint", "WEB_DIRECTORY"]
|
||||
Reference in New Issue
Block a user