From feca4ce2ad59fb9884649cb66b3f8e28f4455100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Dom=C3=ADnguez?= Date: Wed, 13 Sep 2023 16:39:59 +0200 Subject: [PATCH] Ignore anonymous users --- lib/galaxy/tools/error_reports/plugins/sentry.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/galaxy/tools/error_reports/plugins/sentry.py b/lib/galaxy/tools/error_reports/plugins/sentry.py index 12b0395409ff..21b914e0be01 100644 --- a/lib/galaxy/tools/error_reports/plugins/sentry.py +++ b/lib/galaxy/tools/error_reports/plugins/sentry.py @@ -70,7 +70,6 @@ def submit_report(self, dataset, job, tool, **kwargs): user = job.get_user() sentry_user = { "id": user.id if user else None, - # TODO: What about anonymous users? } if user and not self.redact_user_details_in_bugreport: sentry_user.update(