Fix the following defect which causes the streamer to crash
File "/home/ec2-user/social-analytics/streamingapp/main/streamer/tweepyStreamClass.py", line 79, in on_exception
with open('stream_errors.txt', 'a') as file_object:
FileNotFoundError: [Errno 2] No such file or directory: 'stream_errors.txt'
Fix the following defect which causes the streamer to crash
File "/home/ec2-user/social-analytics/streamingapp/main/streamer/tweepyStreamClass.py", line 79, in on_exception with open('stream_errors.txt', 'a') as file_object:
FileNotFoundError: [Errno 2] No such file or directory: 'stream_errors.txt'