FulltiltToFpdb: Throw exception when HandInfo reg ex doesn't match.

This commit is contained in:
Eratosthenes 2010-08-26 22:52:16 -04:00 committed by Worros
parent ef576cf213
commit bbb21b4b4d

View File

@ -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')