mirror of
https://github.com/kawasaki/pyscrlink.git
synced 2025-09-05 01:00:23 +02:00
When the address of device-manager.scratch.mit.edu can not be resolved, scratch_link.py catches the exception for the resolve failure and restarts itself. This results in eternal loop. To avoid the eternal loop, catch the resolve failure, print error message and break the loop. Also improve the error message for the other exceptions caught in the loop. Signed-off-by: Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp>