There is no check to make sure the auto-generated test.json file used for GUI testing exists before trying to read the file when in debug mode. This results in repeated Javascript errors that make the application unusable until debug mode is turned off.
Tasks:
[ ] Add a check to see if the test.json file exists before starting the setInterval() to read the file and send the data to the GUI. This should occur only once if debug mode is on when the application starts and should log an error message if the file does not exist.
[ ] Add error handling to the code that reads the test.json file and sends the data to mainWin. This should log an error message if the file cannot be read.
Notes:
The relevant lines of code are lines 448-458 in main.js
Description:
There is no check to make sure the auto-generated test.json file used for GUI testing exists before trying to read the file when in debug mode. This results in repeated Javascript errors that make the application unusable until debug mode is turned off.
Tasks:
Notes:
The relevant lines of code are lines 448-458 in main.js