Python Get Exception Message As String In Python