Browse Source

Split socket error to nr

pull/2733/merge
Ruud 11 years ago
parent
commit
22e922e860
  1. 1
      CouchPotato.py

1
CouchPotato.py

@ -136,6 +136,7 @@ if __name__ == '__main__':
except socket.error as e:
# log when socket receives SIGINT, but continue.
# previous code would have skipped over other types of IO errors too.
nr, msg = e
if nr != 4:
try:
l.log.critical(traceback.format_exc())

Loading…
Cancel
Save