legacy-python-cli
legacy-python-cli copied to clipboard
Command failed, missing error in logfile
VS Code console shows Error: Command failed
and Unknown Error (3221225477); Check your ~/.wakatime.log file for more details
when executing wakatime-cli with Debug mode turned on, but ~/.wakatime.log
is missing the error message. The last line seen in the log file comes from:
https://github.com/wakatime/wakatime/blob/ff3b4638bcbe31c1f44b532816be50c1a6c0fe97/wakatime/api.py#L61
Need to figure out why none of these logging calls are working, when it should call at least one of them: https://github.com/wakatime/wakatime/blob/ff3b4638bcbe31c1f44b532816be50c1a6c0fe97/wakatime/api.py#L127 https://github.com/wakatime/wakatime/blob/ff3b4638bcbe31c1f44b532816be50c1a6c0fe97/wakatime/api.py#L142 https://github.com/wakatime/wakatime/blob/ff3b4638bcbe31c1f44b532816be50c1a6c0fe97/wakatime/api.py#L286 Unless an exception occurred when handling the request exception but before logging, in which case this logging should have been triggered: https://github.com/wakatime/wakatime/blob/ff3b4638bcbe31c1f44b532816be50c1a6c0fe97/wakatime/main.py#L104