-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Greatly increase the amount of logging information. #38
Conversation
@@ -1,447 +1,447 @@ | |||
# -*- coding: utf-8 -*- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this file had Windows file endings. Long live editorconfig?
@@ -334,6 +334,3 @@ def close_transcode(self, device_id): | |||
return self._delete("Videos/ActiveEncodings", params={ | |||
'DeviceId': device_id | |||
}) | |||
|
|||
def delete_item(self, item_id): | |||
return self.items("/%s" % item_id, "DELETE") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flake8 was kind enough to informing me that this was a duplicate definition.
You should be able to find the exact same code further up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only have the one comment
The main change so far is to include file paths and line numbers on log output.
Log all calls to
__getitem__
and__shortcuts__
(DEBUG
, noisy)Some flake8 errors corrected.
Currently prints some stacktraces that probably shouldn't be printed, but my opinion on that is to keep it like that until exception handling can be improved (and made much more specific) in those areas.
Also added editorconfig.