Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncaughtException TypeError: params.hasOwnProperty is not a function #3

Open
ElusiveMind opened this issue Oct 25, 2017 · 1 comment

Comments

@ElusiveMind
Copy link
Contributor

On the open source project, I started seeing errors once PR #2 was merged to probo-request-logger

After updating, I am getting the following in my probo-cm error logs:

Oct 24 14:42:28 localhost probo-cm: uncaughtException TypeError: params.hasOwnProperty is not a function
Oct 24 14:42:28 localhost probo-cm: at Server.<anonymous> (/opt/probo/probo/node_modules/probo-request-logger/index.js:39:20)
Oct 24 14:42:28 localhost probo-cm: at next (/opt/probo/probo/node_modules/restify/lib/server.js:745:30)
Oct 24 14:42:28 localhost probo-cm: at f (/opt/probo/probo/node_modules/once/once.js:25:25)
Oct 24 14:42:28 localhost probo-cm: at Server.parseQueryString (/opt/probo/probo/node_modules/restify/lib/plugins/query.js:39:17)
Oct 24 14:42:28 localhost probo-cm: at next (/opt/probo/probo/node_modules/restify/lib/server.js:745:30)
Oct 24 14:42:28 localhost probo-cm: at f (/opt/probo/probo/node_modules/once/once.js:25:25)
Oct 24 14:42:28 localhost probo-cm: at Server.parseBody (/opt/probo/probo/node_modules/restify/lib/plugins/body_parser.js:47:13)
Oct 24 14:42:28 localhost probo-cm: at next (/opt/probo/probo/node_modules/restify/lib/server.js:745:30)
Oct 24 14:42:28 localhost probo-cm: at f (/opt/probo/probo/node_modules/once/once.js:25:25)
Oct 24 14:42:28 localhost probo-cm: at Server.readBody (/opt/probo/probo/node_modules/restify/lib/plugins/body_reader.js:55:13)
Oct 24 14:42:28 localhost probo-cm: at next (/opt/probo/probo/node_modules/restify/lib/server.js:745:30)
Oct 24 14:42:28 localhost probo-cm: at f (/opt/probo/probo/node_modules/once/once.js:25:25)
Oct 24 14:42:28 localhost probo-cm: at Server.parseAccept (/opt/probo/probo/node_modules/restify/lib/plugins/accept.js:37:13)
Oct 24 14:42:28 localhost probo-cm: at Domain.next (/opt/probo/probo/node_modules/restify/lib/server.js:745:30)
Oct 24 14:42:28 localhost probo-cm: at Domain.f (/opt/probo/probo/node_modules/once/once.js:25:25)
Oct 24 14:42:28 localhost probo-cm: at Domain.run (domain.js:221:14)

Commenting out lines 33-44 resolved the issue, but this is not a fix. Requesting assistance and will attempt to further triage myself.

@ElusiveMind
Copy link
Contributor Author

Pull request #4 is available for potentially fixing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant