Open tpwrules opened 6 months ago
In some sandbox environments, the program may not have permission to access /etc/localtime or it may not exist.
Catch any exceptions accessing and parsing its value and return UTC by default to avoid crashing the program.
Comparing tpwrules:darwin-error-handling (a4d98ce) with master (3e3fec6)
tpwrules:darwin-error-handling
master
✅ 1 untouched benchmarks
✅ 1
Fixed formatting.
In some sandbox environments, the program may not have permission to access /etc/localtime or it may not exist.
Catch any exceptions accessing and parsing its value and return UTC by default to avoid crashing the program.
Pull Request Check List