InvokeAI/invokeai/app/services/invocation_processor
psychedelicious e0e106367d fix(nodes): do not clear invocation stats on invoke error
When an invocation errored, we clear the stats for the whole graph. Later on, we check the graph for errors and see the failed invocation, and we consider the graph failed. We then attempts to log the stats for the failed graph.

Except now the failed graph has no stats, and the stats raises an error.

The user sees, in the terminal:
- An invocation error
- A stats error (scary!)
- No stats for the failed graph (uninformative!)

What the user should see:
- An invocation error
- Graph stats

The fix is simple - don't reset the graph stats when an invocation has an error.
2024-02-07 11:26:15 +11:00
..
__init__.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
invocation_processor_base.py chore: ruff format 2023-11-11 10:55:40 +11:00
invocation_processor_common.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
invocation_processor_default.py fix(nodes): do not clear invocation stats on invoke error 2024-02-07 11:26:15 +11:00