prod 500 errors for /v1/profile on possible network glitch #151
Comments
|
We can add a null check for sure. I think this would still be a 503, On Fri, Oct 2, 2015, 10:26 AM John Morrison notifications@github.com
|
Yeah, valid point; it is a server error, either 500 or 503, probably 503. Such a limited set of choices. Still, marginally better to have a diagnosed error (possibly still including a stack), than a TypeError. |
Or, invent '530 Remote dependent service failed' or perhaps ' 530 SOA FTW' ;-) |
This may have just been a network glitch but there was a burst of 500's in production, about 24. But this code could use a null check. - https://github.com/mozilla/fxa-profile-server/blob/master/lib/server/web.js#L64
The text was updated successfully, but these errors were encountered: