The whole record, or undefined while there is none to read: the dashboard writes it only once it
is listening, truncates the file before writing, and removes it on exit, so an absent, empty or
partial file is an ordinary moment in its life. A file that exists and cannot be read is not, and
reading it as absent would report a live dashboard as down, so that error throws.
The whole record, or
undefinedwhile there is none to read: the dashboard writes it only once it is listening, truncates the file before writing, and removes it on exit, so an absent, empty or partial file is an ordinary moment in its life. A file that exists and cannot be read is not, and reading it as absent would report a live dashboard as down, so that error throws.