Add logging around failed uploads