Make msgs about parse errors more verbose

+ fix small bug in FpdbParseError
This commit is contained in:
grindi
2009-11-07 22:01:30 +03:00
parent 9dd600702a
commit dbaf4dbdbc
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -154,6 +154,7 @@ Otherwise, finish at EOF.
except FpdbParseError, e:
numErrors += 1
log.warning("Failed to convert hand %s" % e.hid)
log.warning("Exception msg: '%s'" % str(e))
log.debug(handText)
else:
handsList = self.allHandsAsList()
@@ -168,6 +169,7 @@ Otherwise, finish at EOF.
except FpdbParseError, e:
numErrors += 1
log.warning("Failed to convert hand %s" % e.hid)
log.warning("Exception msg: '%s'" % str(e))
log.debug(handText)
numHands = len(handsList)
endtime = time.time()