Fix for CORE-2800

Fixes error handling in the case of server failure while posting blobs.
 The code will now exit if blobs can’t be committed.