Skip to content

Commit

Permalink
Catch all exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
andfoy committed Jun 1, 2018
1 parent f02a83e commit 5740ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder_terminal/server/logic/term_manager.py
Expand Up @@ -65,7 +65,7 @@ def client_disconnected(self, pid, socket):
self.pty_read(term.ptyproc.fd)
return
term.killpg(signal.SIGHUP)
except OSError:
except Exception:
pass
del self.consoles[pid]

Expand Down

0 comments on commit 5740ce0

Please sign in to comment.