Stars: Make readHandInfo() failure log an error not info

This commit is contained in:
Worros 2010-09-06 17:22:36 +08:00
parent 581b58e0c7
commit 9a6de0476e

View File

@ -221,8 +221,7 @@ class PokerStars(HandHistoryConverter):
m = self.re_HandInfo.search(hand.handText,re.DOTALL)
m2 = self.re_GameInfo.search(hand.handText)
if m is None or m2 is None:
logging.info("Didn't match re_HandInfo")
logging.info(hand.handText)
log.error("Didn't match re_HandInfo")
raise FpdbParseError("No match in readHandInfo.")
info.update(m.groupdict())