Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Remove some more resolutions in open server. #916

Merged
merged 1 commit into from Jun 17, 2020
Merged

Conversation

Tbaut
Copy link
Collaborator

@Tbaut Tbaut commented Jun 16, 2020

the server was throwing the following when doing any request:

(node:23761) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type object
at Function.byteLength (buffer.js:705:11)
at /home/thib/github/paritytech/polkassembly/chain-db-open-server/node_modules/apollo-server-express/src/expressApollo.ts:53:18
at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:23761) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:23761) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@Tbaut Tbaut requested a review from niklabh June 16, 2020 21:22
@Tbaut Tbaut merged commit 87a99ab into master Jun 17, 2020
@Tbaut Tbaut deleted the tbaut-open-server-fix-2 branch June 17, 2020 07:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant