Use append to add error message to list

Using extend on a string adds characters individually. Also, Exception.message is deprecated.