Github user d2r commented on a diff in the pull request:
https://github.com/apache/incubator-storm/pull/159#discussion_r14796708
--- Diff: storm-core/src/clj/backtype/storm/ui/core.clj ---
@@ -895,7 +901,7 @@
(try
(handler request)
(catch Exception ex
- (json-response (exception->json ex) 500)))))
+ (json-response (exception->json ex) ((:query-params request)
"callback") 500 )))))
--- End diff --
If we rewrite `json-response` as a keyword function, then this line needs
to use the keyword for the status passed in:
```Clojure
(json-response (exception->json ex)
((:query-params request) "callback")
:status 500)))))
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---