You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.
On MacOS, if the location in logger-config.json has no write permission or doesn't exist, the program fails ungracefully:
/Users/dduke/src/tplink-energy-monitor/src/services/data-logger.js:51
console.warn('Error writing log for ' + device.alias + ' [' + device.deviceId + ']', err);
^
ReferenceError: device is not defined
at writeLog (/Users/dduke/src/tplink-energy-monitor/src/services/data-logger.js:51:45)
at /Users/dduke/src/tplink-energy-monitor/src/services/data-logger.js:60:7
at FSReqCallback.oncomplete (node:fs:185:23)
A nice error saying "sorry your log file could not be written" would be better!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On MacOS, if the location in logger-config.json has no write permission or doesn't exist, the program fails ungracefully:
A nice error saying "sorry your log file could not be written" would be better!
The text was updated successfully, but these errors were encountered: