mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 04:28:12 +08:00
log database errors more quiet
This commit is contained in:
+1
-1
@@ -402,7 +402,7 @@ def save_task(task):
|
|||||||
result=task['result'],
|
result=task['result'],
|
||||||
success=task['success'])
|
success=task['success'])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(e)
|
logger.error(e)
|
||||||
|
|
||||||
|
|
||||||
def scheduler(list_key=Conf.Q_LIST):
|
def scheduler(list_key=Conf.Q_LIST):
|
||||||
|
|||||||
Reference in New Issue
Block a user