google / taqo-paco

Desktop and new mobile client apps for the Paco user behavior research platform (https://www.pacoapp.com/).
Apache License 2.0
12 stars 10 forks source link

palEventServer logging for missing .zshrc #35

Open taqo-issues-bot opened 3 years ago

taqo-issues-bot commented 3 years ago

Issue by BobEvans Mon Jun 8 21:24:17 2020


Since it is not critical, let's log the missing .zshrc file differently

Current output: FileSystemException: Cannot open file, path = '/home/user/.zshrc' (OS Error: No such file or directory, errno = 2)

Suggested improvement: No .zshrc file found.

taqo-issues-bot commented 3 years ago

Comment by rundong08 Mon Jun 8 23:55:29 2020


I feel this may require pattern matching the error message because there may be some FileSystemException other than missing the file. Now the log message is something like

2020-06-11T07:34:47.078583Z WARNING [CmdLineLogger]: FileSystemException: Cannot open file, path = '/home/user/.zshrc' (OS Error: No such file or directory, errno = 2)