Commit cf96a3c0 authored by Rémy Decoupes's avatar Rémy Decoupes
Browse files

Fix recession on error handle 2

parent f2669864
......@@ -157,7 +157,7 @@ if __name__ == '__main__':
logger.info("Collect tweets : proceeded normally")
stream.disconnect()
tweetoutput.close()
exitscript("User wanted to stop")
sys.exit(1)
except Exception as ex:
# Example of errors caught in dev : ReadTimeoutError
logger.error("Unexpected error with stream. Try reconnect")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment