Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[component] KeyError: 'class' #2442

Open
suhaibmujahid opened this issue Jul 11, 2024 · 0 comments · May be fixed by #2443
Open

[component] KeyError: 'class' #2442

suhaibmujahid opened this issue Jul 11, 2024 · 0 comments · May be fixed by #2443
Assignees
Labels

Comments

@suhaibmujahid
Copy link
Member

2024-07-11 11:41:59,854 - ERROR - Rule component
Traceback (most recent call last):
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 856, in run
    self.send_email(date=date)
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 772, in send_email
    data = self.get_email_data(date)
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 690, in get_email_data
    bugs = self.get_bugs(date=date)
  File "/home/rm_bot/bugbot/bugbot/rules/component.py", line 111, in get_bugs
    originally_fenix_general_bug_ids = {
  File "/home/rm_bot/bugbot/bugbot/rules/component.py", line 116, in <setcomp>
    and not meets_threshold(bug_data)
  File "/home/rm_bot/bugbot/bugbot/rules/component.py", line 88, in meets_threshold
    if bug_data["class"] == "Fenix" or bug_data["class"] == "General"
KeyError: 'class'
@suhaibmujahid suhaibmujahid linked a pull request Jul 12, 2024 that will close this issue
4 tasks
@suhaibmujahid suhaibmujahid self-assigned this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant