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

Does ring-logger-timbre work with ring async handlers? #10

Open
tsaixingwei opened this issue Dec 5, 2018 · 0 comments
Open

Does ring-logger-timbre work with ring async handlers? #10

tsaixingwei opened this issue Dec 5, 2018 · 0 comments

Comments

@tsaixingwei
Copy link

timbre was working fine with my ring application until I tried to implement ring async handlers that took 3 arguments instead of one.
The stack trace error shown is the following:
clojure.lang.ArityException: Wrong number of args (3) passed to: logger/wrap-request-start/fn--18401 AFn.java:429 clojure.lang.AFn.throwArity AFn.java:40 clojure.lang.AFn.invoke Var.java:390 clojure.lang.Var.invoke reload.clj:42 ring.middleware.reload/wrap-reload[fn] stacktrace.clj:32 ring.middleware.stacktrace/wrap-stacktrace-log[fn] stacktrace.clj:101 ring.middleware.stacktrace/wrap-stacktrace-web[fn] jetty.clj:35 ring.adapter.jetty/async-proxy-handler[fn] (Unknown Source) ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle HandlerWrapper.java:132 org.eclipse.jetty.server.handler.HandlerWrapper.handle Server.java:503 org.eclipse.jetty.server.Server.handle HttpChannel.java:364 org.eclipse.jetty.server.HttpChannel.handle HttpConnection.java:260 org.eclipse.jetty.server.HttpConnection.onFillable AbstractConnection.java:305 org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded FillInterest.java:103 org.eclipse.jetty.io.FillInterest.fillable ChannelEndPoint.java:118 org.eclipse.jetty.io.ChannelEndPoint$2.run QueuedThreadPool.java:765 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob QueuedThreadPool.java:683 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run Thread.java:745 java.lang.Thread.run

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