Proper debug for streamtrimmer problem

This commit is contained in:
Simon 2021-01-18 12:31:56 +00:00
parent e6edd4c16b
commit 76927ebf95
1 changed files with 1 additions and 2 deletions

View File

@ -410,8 +410,7 @@ def stream_trimmer_loop():
if systems[system].STATUS[stream_id]['LAST'] < _now - 5:
remove_list.append(stream_id)
except:
logger.debug("Keyerror - stream trimmer")
print(systems[system].STATUS[stream_id])
logger.debug("(%s) Keyerror - stream trimmer %s %s %s %s %s",system,systems[system].STATUS[stream_id]['START'],systems[system].STATUS[stream_id]['START']['CONTENTION'],systems[system].STATUS[stream_id]['RFS'],int_id(systems[system].STATUS[stream_id]['TGID']),systems[system].STATUS[stream_id]['LAST'])
systems[system].STATUS[stream_id]['LAST'] = _now
continue