GitHub user mars opened a pull request:

    https://github.com/apache/incubator-predictionio/pull/393

    Fix to show stacktrace for errors thrown in `queries.json` REST API

    We were getting intractable errors from `queries.json` requests, like this 
one without a stacktrace:
    
    ```
    [ERROR] [ServerActor] Query '{
      "user": "000",
      "item": "000"
    }' is invalid. Reason: Expected object but got JNothing
    ```
    
    This pull request adds stacktraces to these errors using the pattern 
already present elsewhere in `CreateServer.scala`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mars/incubator-predictionio 
log-queries-stacktrace

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-predictionio/pull/393.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #393
    
----
commit f50980d6513c367657374988083e32039c454992
Author: Mars Hall <m...@heroku.com>
Date:   2017-06-16T18:45:03Z

    Fix to show stacktrace for errors thrown in `queries.json` REST API

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to