As Ned noted, the exception will include info about the exception.  The message you want add will give information about what was happening when the exception occurred.  As I think this should be something like log.exception(current_msg), where current msg wpi;d be the stuff on the preceding line that is being added to the 'msg' variable that is accumulating stuff.