made more verbose errors for TypeError
This commit is contained in:
parent
59bfb4a567
commit
743f35842e
3 changed files with 12 additions and 11 deletions
|
@ -36,7 +36,7 @@ class TautulliAPI(object):
|
|||
try:
|
||||
sessions = [TautulliStream(**session) for session in get['sessions']]
|
||||
except TypeError as e:
|
||||
self.logger.error('TypeError has occurred : %s', e)
|
||||
self.logger.error('TypeError has occurred : %s while creating TautulliStream structure', e)
|
||||
return
|
||||
|
||||
for session in sessions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue