show_error kitten: Exit at EOF
This commit is contained in:
parent
ef4240e196
commit
e3adf8c6bf
@ -32,7 +32,7 @@ def real_main(args: List[str]) -> None:
|
|||||||
|
|
||||||
def main(args: List[str]) -> None:
|
def main(args: List[str]) -> None:
|
||||||
try:
|
try:
|
||||||
with suppress(KeyboardInterrupt):
|
with suppress(KeyboardInterrupt, EOFError):
|
||||||
real_main(args)
|
real_main(args)
|
||||||
except Exception:
|
except Exception:
|
||||||
import traceback
|
import traceback
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user