frontend: also catch I/O errors in pulse phase
This commit is contained in:
parent
6a38127c0d
commit
fb90c66929
@ -131,6 +131,10 @@ class StcGal:
|
|||||||
sys.stdout.flush();
|
sys.stdout.flush();
|
||||||
print("Serial port error: %s" % e, file=sys.stderr)
|
print("Serial port error: %s" % e, file=sys.stderr)
|
||||||
return 1
|
return 1
|
||||||
|
except IOError as e:
|
||||||
|
sys.stdout.flush();
|
||||||
|
print("I/O error: %s" % e, file=sys.stderr)
|
||||||
|
return 1
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if self.opts.code_image:
|
if self.opts.code_image:
|
||||||
|
Loading…
Reference in New Issue
Block a user