Don't really see how printing the content of msg is of use here as all the information is contains is included in the rest of the error message.