Fixed bug preventing failed uploads from being reported