FulltiltToFpdb: Throw exception when HandInfo reg ex doesn't match.
This commit is contained in:
parent
ef576cf213
commit
bbb21b4b4d
|
@ -208,8 +208,7 @@ class Fulltilt(HandHistoryConverter):
|
|||
if m is None:
|
||||
logging.info("Didn't match re_HandInfo")
|
||||
logging.info(hand.handText)
|
||||
# Should this throw an exception? - CG
|
||||
return None
|
||||
raise FpdbParseError("No match in readHandInfo.")
|
||||
hand.handid = m.group('HID')
|
||||
hand.tablename = m.group('TABLE')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user