Closed davisjam closed 7 years ago
@joeyespo I'm not 100% sure I picked a portable exception. Will this error manifest as a socket.error on non-Linuces? I tested on Ubuntu.
+ except socket.error as ex:
It's socket.errno
with .errno == errno.EADDRINUSE
for Python 2.7 on Windows 7 at least.
I think it should be fine everywhere else, too.
This looks good! Thanks for the fix 😃
If a grip server is already running on the requested port, fail cleanly instead of dumping the call stack.