do not report LRC search fails, LRCs known to be more limited
This commit is contained in:
parent
85a7440c67
commit
b0a9af0560
@ -68,12 +68,13 @@ class Aggregate:
|
|||||||
if not search_result:
|
if not search_result:
|
||||||
logging.info("%s - %s: all sources exhausted, not found.",
|
logging.info("%s - %s: all sources exhausted, not found.",
|
||||||
artist, song)
|
artist, song)
|
||||||
try:
|
if plain: # do not record LRC fails
|
||||||
await self.redis_cache.increment_found_count("failed")
|
try:
|
||||||
except Exception as e:
|
await self.redis_cache.increment_found_count("failed")
|
||||||
traceback.print_exc()
|
except Exception as e:
|
||||||
logging.info("Could not increment redis failed counter: %s",
|
traceback.print_exc()
|
||||||
str(e))
|
logging.info("Could not increment redis failed counter: %s",
|
||||||
self.notifier.send(f"ERROR @ {__file__.rsplit("/", maxsplit=1)[-1]}",
|
str(e))
|
||||||
f"Could not increment redis failed counter: {str(e)}")
|
self.notifier.send(f"ERROR @ {__file__.rsplit("/", maxsplit=1)[-1]}",
|
||||||
|
f"Could not increment redis failed counter: {str(e)}")
|
||||||
return search_result
|
return search_result
|
Loading…
x
Reference in New Issue
Block a user