batches: File upload error handling
Created by: Piszmog
Two recent issues were found.
- When a file exceeded the size limit, the file name was not in the error. This made it hard to tell which file is causing the issue
- The error being returned was still set after logging as a warn. This made it so the program still errored out
Thread of context.
Test plan
Existing tests cover changes.