show_error kitten: Exit at EOF

This commit is contained in:
pagedown
2022-02-24 21:13:57 +08:00
parent ef4240e196
commit e3adf8c6bf

View File

@@ -32,7 +32,7 @@ def real_main(args: List[str]) -> None:
def main(args: List[str]) -> None:
try:
with suppress(KeyboardInterrupt):
with suppress(KeyboardInterrupt, EOFError):
real_main(args)
except Exception:
import traceback