[SPARK-2767] [SQL] SparkSQL CLI doens't output error message if query failed.