|
@@ -44,21 +44,21 @@ async def main():
|
|
|
"traceback": traceback.format_exc()
|
|
|
}
|
|
|
)
|
|
|
- try:
|
|
|
- history_content_id_task = historyContentIdTask(async_mysql_pool)
|
|
|
- except Exception as e:
|
|
|
- logging(
|
|
|
- code="history0003",
|
|
|
- info="Init historyContentIdTask failed",
|
|
|
- alg="historyContentIdTask",
|
|
|
- function="main",
|
|
|
- data={
|
|
|
- "error": str(e),
|
|
|
- "traceback": traceback.format_exc()
|
|
|
- }
|
|
|
- )
|
|
|
- return
|
|
|
- await history_content_id_task.deal()
|
|
|
+ try:
|
|
|
+ history_content_id_task = historyContentIdTask(async_mysql_pool)
|
|
|
+ except Exception as e:
|
|
|
+ logging(
|
|
|
+ code="history0003",
|
|
|
+ info="Init historyContentIdTask failed",
|
|
|
+ alg="historyContentIdTask",
|
|
|
+ function="main",
|
|
|
+ data={
|
|
|
+ "error": str(e),
|
|
|
+ "traceback": traceback.format_exc()
|
|
|
+ }
|
|
|
+ )
|
|
|
+ return
|
|
|
+ await history_content_id_task.deal()
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|