Description:
Our backend service crashes at the start of a new day when it tries to access a JSON file to find a date that does not exist in the file. This issue disrupts the service and causes downtime until manual intervention is performed.
Steps to Reproduce:
Let the backend service run through the day change.
Observe the backend trying to access the JSON file for the new date.
Notice the service crashing when the date is not found in the JSON file.
Expected Behavior:
The backend should handle the missing date gracefully and either create an entry for the new date or log an appropriate error without crashing.
Actual Behavior:
The backend crashes and requires a manual restart or fix.
126 Should be fixed after that branch has been merged as the json files were generating in a folder that does not exist when deploying. Has been directly implemented on memory.
Description: Our backend service crashes at the start of a new day when it tries to access a JSON file to find a date that does not exist in the file. This issue disrupts the service and causes downtime until manual intervention is performed.
Steps to Reproduce:
Let the backend service run through the day change. Observe the backend trying to access the JSON file for the new date. Notice the service crashing when the date is not found in the JSON file.
Expected Behavior: The backend should handle the missing date gracefully and either create an entry for the new date or log an appropriate error without crashing.
Actual Behavior: The backend crashes and requires a manual restart or fix.