Commit Graph
1 Commits
Author SHA1 Message Date
andersnauman 51760181b0 Fix: Less error-prone code to minimize the risk of program crash (#417)
- Double check if org_name exist. Empty name will crash Elastissearch's 'exist' search
- Move try-statement to include open() to catch if files do not exist
- Enclose Elasticsearch's execute in a try-statement to catch any invalid searches when variables are empty/missing
2023-06-27 15:45:40 -04:00