From 8d6ab2a6f574b188be43097a42afa860dd44ecb2 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 22 Jan 2025 16:17:43 +1300 Subject: [PATCH] silence daily-maintenance exceptions --- app/cli.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/cli.py b/app/cli.py index c67b21e8..81d72e86 100644 --- a/app/cli.py +++ b/app/cli.py @@ -264,7 +264,6 @@ def register(app): current_app.logger.info(f"{instance.domain} has no well-known/nodeinfo response") except Exception as e: db.session.rollback() - current_app.logger.error(f"Error processing instance {instance.domain}: {e}") instance.failures += 1 finally: nodeinfo.close() @@ -284,7 +283,7 @@ def register(app): instance.nodeinfo_href = None except Exception as e: db.session.rollback() - current_app.logger.error(f"Error processing nodeinfo for {instance.domain}: {e}") + instance.failures += 1 finally: node.close() db.session.commit() @@ -314,7 +313,7 @@ def register(app): InstanceRole.role == 'admin').delete() except Exception as e: db.session.rollback() - current_app.logger.error(f"Error updating admins for {instance.domain}: {e}") + instance.failures += 1 finally: if response: response.close()