mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

Useless error if tokenserveruri totally misconfigured #42

Closed callahad closed 6 years ago

callahad commented 10 years ago

I left the port off my tokenServerURI, and got this totally unhelpful error.

screen shot 2014-10-21 at 20 16 20

We could totally be champions of the people if we fixed this upstream.

rfk commented 10 years ago

For reference, this error is generated down here in the bowels of tokenserverclient.js: http://hg.mozilla.org/mozilla-central/file/4c449dcda453/services/common/tokenserverclient.js#l258

callahad commented 10 years ago

FWIW, I'm quite fond of DXR, if you haven't seen it: http://dxr.mozilla.org/mozilla-central/source/services/common/tokenserverclient.js#258

(Not sure how to link to a specific commit, but it seems pretty fantastic)

rfk commented 6 years ago

Going to close this ancient issue