InvokeAI/invokeai/app/services/images
psychedelicious 9f93e9d120 fix(app): when creating image, skip adding to board if board doesn't exist
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.
2024-06-28 10:36:05 +10:00
..
__init__.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
images_base.py feat(app): simplified create image API 2024-05-18 09:04:37 +10:00
images_common.py feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00
images_default.py fix(app): when creating image, skip adding to board if board doesn't exist 2024-06-28 10:36:05 +10:00