[TASK] Improve error message for background generation