iomrascalai icon indicating copy to clipboard operation
iomrascalai copied to clipboard

Engine borks on errors now

Open iopq opened this issue 8 years ago • 1 comments

How to reproduce:

genmove b genmove b

this causes an error to be returned by the GTP controller - it's expected that the engine reports an error

but the finish() method in src/engine/mod.rs calls unwrap() on game.play(m) which causes a panic

iopq avatar Mar 20 '16 03:03 iopq

Thank you! I will have a look.

ujh avatar Mar 20 '16 14:03 ujh