mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
9f93e9d120
Before this change, if you attempt to create an image that with a nonexistent board, we'd get an unhandled error when adding the image to a board. The record would be created, but file not, due to the structure of the code. With this change, we now log a warning if we have a problem adding the image to the board, but the record and file are still created. A future improvement would be to create a transaction for this part of the code, preventing some other situation that could result in only the record or only the file beings saved. |
||
---|---|---|
.. | ||
api | ||
assets/images | ||
invocations | ||
services | ||
shared | ||
util | ||
__init__.py | ||
api_app.py | ||
run_app.py |