Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

# Issue #544

Open
lautarodragan opened this issue Jan 3, 2019 · 0 comments
Open

# Issue #544

lautarodragan opened this issue Jan 3, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@lautarodragan
Copy link
Member

lautarodragan commented Jan 3, 2019

There's an issue at # when the password contains certain characters.

Details TBD.

  AssertionError [ERR_ASSERTION]: status code must be a number
      at Object.set status [as status] (/usr/src/app/api/node_modules/koa/lib/response.js:86:5)
      at Object.status (/usr/src/app/api/node_modules/delegates/index.js:92:31)
      at /usr/src/app/api/dist/src/middlewares/addHeaderToErrors.js:9:20
      at process._tickCallback (internal/process/next_tick.js:68:7)
{"level":50,"time":1546526474353,"msg":"api.Login","pid":23,"hostname":"frost-api-poet-frost-api-69cf59fb6c-wtfdr","module":"accounts","exception":"Invalid password","v":1}

  Error: invalid JSON, only supports object and array
      at parse (/usr/src/app/api/node_modules/co-body/lib/json.js:55:13)
      at AsyncFunction.module.exports [as json] (/usr/src/app/api/node_modules/co-body/lib/json.js:41:20)
      at process._tickCallback (internal/process/next_tick.js:68:7)

Looks like the node didn't catch this error at all.

@lautarodragan lautarodragan added the bug Something isn't working label Jan 3, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant