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

Update express-middleware.js #62

Closed
wants to merge 2 commits into from
Closed

Conversation

dominathan
Copy link

prom-client returns Promise. Need to handle promise in express middleware.
Resolves #61

dominathan and others added 2 commits January 30, 2021 18:08
prom-client returns Promise.  Need to handle promise in express middleware.
@PayU PayU deleted a comment from yorch Feb 16, 2021
@yorch
Copy link
Contributor

yorch commented Feb 16, 2021

Found this issue today when tried to upgrade prom-client. You would also need to update koaMiddleware and a bunch of tests.

@dominathan
Copy link
Author

Yea, I'm using my own version of prom client now with express. If someone ones to pick this up feel free, I'm going to close this.

@dominathan dominathan closed this Feb 16, 2021
@yorch
Copy link
Contributor

yorch commented Feb 16, 2021

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