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

Nested arity exception #73

Open
malcolmsparks opened this issue Mar 10, 2016 · 0 comments
Open

Nested arity exception #73

malcolmsparks opened this issue Mar 10, 2016 · 0 comments

Comments

@malcolmsparks
Copy link
Contributor

Problem described in comment in yada.methods/apply-response-fn

Needs a failing test.

500: Internal Server Error

There was an internal server error.

clojure.lang.ExceptionInfo: Error on GET {:response #yada.context.Response{:headers {}, :vary #{}, :produces {:media-type #yada.media_type.MediaTypeMap{:name "text/html", :type "text", :subtype "html", :parameters {}, :quality 1.0}}}, :resource yada.resource.Resource, :error #error {
 :cause "Wrong number of args (2) passed to: template/new-page-resource/responsefn--30958"
 :via
 [{:type clojure.lang.ArityException
   :message "Wrong number of args (2) passed to: template/new-page-resource/responsefn--30958"
   :at [clojure.lang.AFn throwArity "AFn.java" 429]}]
 :trace
 [[clojure.lang.AFn throwArity "AFn.java" 429]
  [clojure.lang.AFn invoke "AFn.java" 36]
  [clojure.lang.AFn applyToHelper "AFn.java" 156]
  [clojure.lang.AFn applyTo "AFn.java" 144]
  [clojure.core$apply invoke "core.clj" 632]
  [yada.methods$apply_response_fn invoke "methods.clj" 43]
  [yada.methods$eval23870$fn__23877$fn__23882 invoke "methods.clj" 186]
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