Better error message in case of tranfer failure