mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
e0e106367d
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. |
||
---|---|---|
.. | ||
api | ||
assets/images | ||
invocations | ||
services | ||
shared | ||
util | ||
api_app.py |