Skip to content

Commit

Permalink
fix(owners): Correct return value as exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Mar 5, 2018
1 parent ac971fd commit acf7a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/utils/committers.py
Expand Up @@ -144,7 +144,7 @@ def get_event_file_committers(project, event, frame_limit=25):
commits = _get_commits(releases)

if not commits:
return Commit.DoesNotExist
raise Commit.DoesNotExist

frames = _get_frame_paths(event)
app_frames = [frame for frame in frames if frame['in_app']][-frame_limit:]
Expand Down

0 comments on commit acf7a44

Please sign in to comment.