mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
always log error when action not sent to api
This commit is contained in:
parent
66fddc07b9
commit
a5f031b046
@ -310,6 +310,11 @@ def send_action(project=None, branch=None, stats=None, key=None, targetFile=None
|
||||
'response_code': response.getcode(),
|
||||
'response_content': response.read(),
|
||||
})
|
||||
else:
|
||||
log.error({
|
||||
'response_code': response.getcode(),
|
||||
'response_content': response.read(),
|
||||
})
|
||||
else:
|
||||
log.error({
|
||||
'response_code': response.getcode(),
|
||||
|
Loading…
Reference in New Issue
Block a user