I have an s3 bucket which has 4 folders now of which is input/. After the my airflow DAG Runs at the end of the py code are few lines which attempt to delete all files in the input/. Now, this sometimes deletes all files and sometimes deletes the directory itself. I am not sure why it is deleting even
Tag: hook
Hook for processing (not catching) exception in Flask
I have a Flask server. Whenever the code inside my handler throws an exception, Flask catches it, and returns an HTML page to the client with a 5XX error. The problem is that I don’t notice this. I just got an email from someone using my API saying that they were getting 504 errors, and I didn’t know about it