Yeah, seems like we should have an easy way to surface specific errors to make user error reports actionable.

Should that block this pr?

-- lloyd (thumb-typing)

On Mar 11, 2013, at 8:55 AM, Shane Tomlinson <notifications@github.com> wrote:

> In resources/static/dialog/js/modules/authenticate.js:
> 
> > @@ -78,7 +78,13 @@ BrowserID.Modules.Authenticate = (function() {
> >      else {
> >        showHint("addressInfo");
> >        user.addressInfo(email, onAddressInfo,
> > -        self.getErrorDialog(errors.addressInfo));
> > +                       function(info) {
> > +                         var ai = errors.addressInfo;
> > +                         if (info.detailedError) {
> > +                           ai = $.extend(ai, { message: info.detailedError });
> > +                         }
> > +                         self.getErrorDialog(ai)();
> I am wrong, my suggestion does not work. I need to give this some though because this seems like a common enough scenario where it should be taken care of automatically.
> 
> —
> Reply to this email directly or view it on GitHub.