Files
InvokeAI/invokeai/app/services
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
..
2024-06-10 04:12:20 -07:00
2024-06-28 10:36:05 +10:00
2024-03-06 21:57:41 -05:00
2023-03-03 00:02:15 -05:00
2024-03-01 10:42:33 +11:00