diff --git a/CouchPotato.py b/CouchPotato.py index e73ed9a..375a1d4 100755 --- a/CouchPotato.py +++ b/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())