cc-4652: added logging for when watch fails on startup
This commit is contained in:
parent
5b14c4fe88
commit
c0dc38be62
python_apps/media-monitor2
|
@ -115,6 +115,7 @@ def main(global_config, api_client_config, log_config,
|
|||
(given from the database)." % watch_dir)
|
||||
if os.path.exists(watch_dir):
|
||||
airtime_receiver.new_watch({ 'directory':watch_dir }, restart=True)
|
||||
else: log.info("Failed to add watch on %s" % str(watch_dir))
|
||||
|
||||
bs = Bootstrapper( db=sdb, watch_signal='watch' )
|
||||
|
||||
|
|
Loading…
Reference in New Issue