debug process
This commit is contained in:
parent
b6c0067819
commit
8f58cb0827
1 changed files with 3 additions and 0 deletions
|
@ -208,10 +208,13 @@ def core_api_sync():
|
||||||
state = get_process.state
|
state = get_process.state
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger_job.error(f'Error processing {process.id}: {err}')
|
logger_job.error(f'Error processing {process.id}: {err}')
|
||||||
|
logger_job.error(process)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if meta is None or meta['restreamer-ui'].get('meta') is None:
|
if meta is None or meta['restreamer-ui'].get('meta') is None:
|
||||||
# Skip processes without metadata or meta key
|
# Skip processes without metadata or meta key
|
||||||
continue
|
continue
|
||||||
|
|
||||||
new_ids.append(stream_id)
|
new_ids.append(stream_id)
|
||||||
stream_name = meta['restreamer-ui']['meta']['name']
|
stream_name = meta['restreamer-ui']['meta']['name']
|
||||||
stream_description = meta['restreamer-ui']['meta']['description']
|
stream_description = meta['restreamer-ui']['meta']['description']
|
||||||
|
|
Loading…
Reference in a new issue