.. Todo::
  Create functional tests showing graceful refusal to log user in if user
service down



Paul Brian
07540 456 115
paul@mikadosoftware.com
Guiding you towards Continuous Delivery of software and business value.

On 18 Mar 2013, at 18:29, Philip Schatz <notifications@github.com> wrote:

In rhaptos2/repo/auth.py:

> +        dolog("INFO", "user info - from url %s and query string %s" %
> +                      (user_server_url, repr(payload)))
> +
> +        try:
> +            r = requests.get(user_server_url, params=payload)
> +            userdetails = r.json
> +        except Exception, e:
> +            #.. todo:: not sure what to do here ... the user dbase is down
> +            dolog("INFO", e)
> +            userdetails = None
> +
> +        dolog("INFO", "Got back %s " % str(userdetails))
> +        if userdetails:
> +            self.__dict__.update(r.json)
> +        else:
> +            ### needs rethinkgin - time of deamo dday too close

Add a FIXME: ?

—
Reply to this email directly or view it on
GitHub<https://github.com/Connexions/rhaptos2.repo/pull/91/files#r3417765>
.

-- 


www.mikadosoftware.com

See your software improve with every change.