Skip to content

Commit

Permalink
Fix messages NoneType error
Browse files Browse the repository at this point in the history
  • Loading branch information
ABrain7710 committed Jan 20, 2024
1 parent ae75bef commit 80d0c9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion augur/tasks/github/messages/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ def process_messages(messages, task_name, repo_id, logger, augur_db):
message_string_fields = ["msg_text"]
message_return_data = augur_db.insert_data(message_dicts, Message, message_natural_keys,
return_columns=message_return_columns, string_fields=message_string_fields)

if message_return_data is None:
return

pr_message_ref_dicts = []
issue_message_ref_dicts = []
Expand Down

0 comments on commit 80d0c9d

Please sign in to comment.