Stars: Make readHandInfo() failure log an error not info
This commit is contained in:
parent
581b58e0c7
commit
9a6de0476e
|
@ -221,8 +221,7 @@ class PokerStars(HandHistoryConverter):
|
||||||
m = self.re_HandInfo.search(hand.handText,re.DOTALL)
|
m = self.re_HandInfo.search(hand.handText,re.DOTALL)
|
||||||
m2 = self.re_GameInfo.search(hand.handText)
|
m2 = self.re_GameInfo.search(hand.handText)
|
||||||
if m is None or m2 is None:
|
if m is None or m2 is None:
|
||||||
logging.info("Didn't match re_HandInfo")
|
log.error("Didn't match re_HandInfo")
|
||||||
logging.info(hand.handText)
|
|
||||||
raise FpdbParseError("No match in readHandInfo.")
|
raise FpdbParseError("No match in readHandInfo.")
|
||||||
|
|
||||||
info.update(m.groupdict())
|
info.update(m.groupdict())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user