From 22eebf7bb28a1298b2ab3e47d58f761417145418 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Tue, 26 Sep 2017 21:01:16 +0200 Subject: [PATCH] add: improve error message on SQL syntax error Change-Id: I8f27402492c12c4a7c3d236f60dde7789c1d9157 --- util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java b/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java index 808aee6a..576173c6 100644 --- a/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java +++ b/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java @@ -227,6 +227,7 @@ public class SQLTestingVisitor extends ASTVisitor { } } } catch (SQLException e) { + errMsg(stmt, "SQL exception occurred, probably a syntax error in the SQL statement. See exception for more details."); throw new Error(e); } } catch (InterruptedException e) { -- 2.39.2