That is a good point. Hm. Let me think on this one; may want to get the
workflow via submission uuid, and if there is no submission, return the
appropriate response.


On Wed, May 14, 2014 at 11:36 AM, Will Daly <notifications@github.com>wrote:

> In apps/openassessment/assessment/api/peer.py:
>
> > @@ -59,7 +58,7 @@ def get_score(submission_uuid, requirements):
> >      if not submitter_is_finished(submission_uuid, requirements):
> >          return None
> >
> > -    workflow = PeerWorkflow.objects.get(submission_uuid=submission_uuid)
> > +    workflow = PeerWorkflow.get_by_submission_uuid(submission_uuid)
>
> I'm actually not sure if this code was catching the exception to begin
> with :)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-ora2/pull/325/files#r12642883>
> .
>