Skip to content

Commit e0049bf

Browse files
committed
qtvcp -print HAL exit error to terminal rather then a big error message.
1 parent e2da30e commit e0049bf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/emc/usr_intf/qtvcp/qtvcp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,10 @@ def shutdown(self,signum=None,stack_frame=None):
515515

516516
LOG.debug('Exiting HAL')
517517
if not HAL is None:
518-
HAL.exit()
518+
try:
519+
HAL.exit()
520+
except Exception as e:
521+
print(e)
519522

520523
# Throws up a dialog with debug info when an error is encountered
521524
def excepthook(self, exc_type, exc_obj, exc_tb):

0 commit comments

Comments
 (0)