Opened 4 years ago

Last modified 23 months ago

#3228 new defect

KeyError in on commits by non-Github users

Reported by: The-Compiler Owned by:
Priority: major Milestone: 0.9.+
Version: master Keywords: github contrib


When a commit by an user not known to github (e.g. this) is pushed, has a KeyError? when trying to get the username of the change:

Traceback (most recent call last):
File "/usr/local/bin/", line 138, in render_POST
self.process_change(payload, user, repo, repo_url, project, request)
File "/usr/local/bin/", line 166, in process_change
change['author']['username'], change['author']['email'])
KeyError: 'username'

Change History (2)

comment:1 Changed 4 years ago by dustin

  • Milestone changed from undecided to 0.9.+
  • Version changed from 0.8.10 to master
Note: See TracTickets for help on using tickets.