deeper-blue / sdp-robot

The robot code for Deeper Blue, an assistive chess-playing robot. Developed for the System Design Project, a 3rd year course offered at the School of Informatics, University of Edinburgh.
2 stars 0 forks source link

Test comms exception handling #42

Closed pilif0 closed 5 years ago

pilif0 commented 5 years ago

I don't believe we ever tested how the comms interface handles exceptions during HLI execution. Any exceptions there need to be gracefully handled (without a crash) and reported to the controller. A bonus would be if we could also automatically recover from at least some exceptions (e.g. by at resetting and trying again).

pilif0 commented 5 years ago

When I was testing the comms object feature, I got an exception in the HLI execution (I forgot that branch didn't have original position as identifier yet). That exception got correctly caught and sent as a response to the controller. Therefore the exception handling in the server should be working as intended.