GitHub user zhongneu opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/754
[ZEPPELIN-679] only print the error message for SQL exceptions
### What is this PR for?
Most of the SQL exceptions are syntax errors. Printing the full stack trace
is not necessary. We should only print the error message to avoid distracting
the users
### What type of PR is it?
Improvement
### Todos
### What is the Jira issue?
[ZEPPELIN-679](https://issues.apache.org/jira/browse/ZEPPELIN-679)
### How should this be tested?
### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update?
NO
* Is there breaking changes for older versions?
NO
* Does this needs documentation?
NO
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhongneu/incubator-zeppelin less-sql-err-msg
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/754.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 #754
----
commit 39dd274d76a7f3cf1ee736215a08e17ca2e27593
Author: Zhong Wang <[email protected]>
Date: 2016-02-27T07:27:02Z
only print the error message for SQL exceptions
----
---
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.
---