Ok, so the first issue was as above. The empty timeout line in the config file was causing the config parser to choke trying to cast an empty string to an int.
Added error handling to trap that and handle it appropriately.
Added a lot of other error handling as other issues can arrise while parsing the relatively simple config file.
Ok, so the first issue was as above. The empty timeout line in the config file was causing the config parser to choke trying to cast an empty string to an int.
Added error handling to trap that and handle it appropriately.
Added a lot of other error handling as other issues can arrise while parsing the relatively simple config file.