Added more detail error message when putting message failed