forked from mindspore-Ecosystem/mindspore
Keep silence for Keyboard Interrupt.
This commit is contained in:
parent
0082c0e5df
commit
2af0333020
|
@ -47,7 +47,7 @@ class Messager:
|
||||||
res = res[0:len(res)-1]
|
res = res[0:len(res)-1]
|
||||||
self.message = res
|
self.message = res
|
||||||
logger.debug('[IN]', self.message)
|
logger.debug('[IN]', self.message)
|
||||||
except EOFError:
|
except (EOFError, KeyboardInterrupt):
|
||||||
self.exit()
|
self.exit()
|
||||||
finally:
|
finally:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue