minor: improved the exception message
This commit is contained in:
parent
124d9bb12d
commit
c80b253141
@ -58,7 +58,7 @@ class grid(object):
|
||||
attempts += 1
|
||||
|
||||
if attempts > MAX_SEARCH_COUNT:
|
||||
raise Exception("Is the search becoming exhaustive?")
|
||||
raise Exception("Is the search becoming exhaustive? (%d attempts)" % attempts)
|
||||
|
||||
cur_cell = cells_to_check.pop(0)
|
||||
checked_cells.append(cur_cell)
|
||||
|
Loading…
Reference in New Issue
Block a user