Skip to content

Commit

Permalink
Ignore anonymous users
Browse files Browse the repository at this point in the history
  • Loading branch information
kysrpex committed Sep 13, 2023
1 parent b0da737 commit feca4ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/galaxy/tools/error_reports/plugins/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit feca4ce

Please sign in to comment.