Prevented handling of errored upload

| Q                    | A
| -------------------- | ---
| Bug fix?             | yes
| New feature?         | no
| BC breaks?           | no
| CI currently passes? | yes
| Tests pass?          | yes
| Scenarios pass?      | yes
| Checkstyle issues?   | no
| Changelog updated?   | no
| Fixed tickets        | PIM-2524
| Doc PR               |