Added some more log info

This commit is contained in:
Roland Hedberg
2013-08-26 11:40:56 +02:00
parent ebc696d711
commit 05f84f8183
3 changed files with 4 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ __author__ = 'rohe0002'
setup(
name="saml2test",
version="0.4.1",
version="0.4.2",
description="SAML2 test tool",
author = "Roland Hedberg",
author_email = "roland.hedberg@adm.umu.se",

View File

@@ -116,7 +116,7 @@ class Interaction(object):
if val == _base:
_match += 1
elif attr == "title":
logger.info("matching %s against title" % val)
logger.info("matching '%s' against title" % val)
if _bs is None:
break
if _bs.title is None:

View File

@@ -165,10 +165,12 @@ class Conversation(object):
_spec = self.interaction.pick_interaction(_base, content)
except InteractionNeeded:
self.position = url
logger.error("URL: %s" % url)
logger.error("Page Content: %s" % content)
raise
except KeyError:
self.position = url
logger.error("URL: %s" % url)
logger.error("Page Content: %s" % content)
self.err_check("interaction-needed")